web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

Deprecated method Xrm.Utility namespace in Dynamics 365

gdas Profile Picture gdas 50,091 Moderator

Before release of Dynamics 365 V9.0 online Xrm.Utility  used as a container of some useful function which are not  directly related page but used to open different entity forms , dialogue ,alert ,web resources etc. . In release of Dynamics 365 V9.0 Microsoft has been deprecated all  the useful method  from namespace  Xrm.Utility .

So now what to use to reuse those functionality ,  Here is the deprecated list of method and replacement of them.

 

Deprecated Method New method to be used
Xrm.Utility.alertDialog Xrm.Navigation.openAlertDialog
Xrm.Utility.confirmDialog  Xrm.Navigation.openConfirmDialog
Xrm.Utility.getBarcodeValue Xrm.Device.getBarcodeValue
Xrm.Utility.getCurrentPosition Xrm.Device.getCurrentPosition
Xrm.Utility.openEntityForm Xrm.Navigation.openForm
Xrm.Utility.openQuickCreate Xrm.Navigation.openForm
Xrm.Utility.openWebResource Xrm.Navigation.openWebResource

 

 

You can still use  Xrm.Utility namespace in on-premise (V8.2), as Microsoft yet to release V9.0 for on-premise.

Hope this helps :).

Comments

*This post is locked for comments