-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
Describe the bug
Power Apps solution checker shows a medium severity issues because:
- Deprecated Xrm.Page is used in dg.xrmquery.web.js.
- == and != are used for comparison instead of === and !==.
To Reproduce
Steps to reproduce the behavior:
- Run XrmDefinitelyTyped.exe.
- Create a TypeScript script which uses XrmQuery.
- Build and run webpack.
- Upload the generated JavaScript file to a new solution.
- Run the solution checker on this solution.
Expected behavior
No solution checker issues. It could be achieved by:
- Only including the code which uses Xrm.Page when using Dynamics 365 versions below 9.0 which do not support newer client API.
- Replacing == and != with === and !==.
Environment
- CRM/D365/CDS version: 9.2.23074.00178
- Tool version: 6.3.0
Metadata
Metadata
Assignees
Labels
No labels
