Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Use Web API dialogs in form and ribbon commands.
Recommendation
Alerts should be replaced with Xrm.Navigation.openAlertDialog,
while confirms should be replaced with Xrm.Navigation.openConfirmDialog. For more information, go to Xrm.Navigation.
Options
- By default, violations are only reported when certain
XrmorMscrmcalls are made in the same file, so that violations outside of Dataverse are not reported. TherequireXrmoption, which istrueby default, can be set tofalseto report all violations regardless ofXrmorMscrmusage- Example:
"@microsoft/power-apps/use-utility-dialogs": ["error", { requireXrm: false }]
- Example: