Xrm.Utility:
Deprecated methods
Method
|
Description
|
||||||||||||||||||||||||||||||||||||
closeProgressIndicator
|
Closes
a progress dialog box.
Xrm.Utility.closeProgressIndicator()
|
||||||||||||||||||||||||||||||||||||
getAllowedStatusTransitions
|
Returns
the valid state transitions for the specified entity type and state code.
Xrm.Utility.getAllowedStatusTransitions(entityName,stateCode).then(successCallback,
errorCallback)
|
||||||||||||||||||||||||||||||||||||
getEntityMetadata
|
Returns
the entity metadata for the specified entity.
Xrm.Utility.getEntityMetadata(entityName,attributes).then(successCallback,
errorCallback)
|
||||||||||||||||||||||||||||||||||||
getGlobalContext
|
Gets
the global context.
|
||||||||||||||||||||||||||||||||||||
getLearningPathAttributeName
|
Returns
the name of the DOM attribute expected by the Learning Path (guided help)
Content Designer for identifying UI controls in the Dynamics 365 Customer
Engagement forms.
Xrm.Utility.getLearningPathAttributeName()
|
||||||||||||||||||||||||||||||||||||
getResourceString
|
Returns
the localized string for a given key associated with the specified web
resource.
Xrm.Utility.getResourceString(webResourceName,key)
|
||||||||||||||||||||||||||||||||||||
invokeProcessAction
|
Invokes
an action based on the specified parameters.
Xrm.Utility.invokeProcessAction(name,parameters).then(successCallback,
errorCallback)
|
||||||||||||||||||||||||||||||||||||
lookupObjects
|
Opens
a lookup control to select one or more items.
Xrm.Utility.lookupObjects(lookupOptions).then(successCallback,
cancelCallback)
lookupOptions: Object. Defines the options for opening the
lookup dialog. Has the following properties:
|
||||||||||||||||||||||||||||||||||||
refreshParentGrid
|
Refreshes
the parent grid containing the specified record.
Xrm.Utility.refreshParentGrid(lookupOptions)
lookupOptions: An object with the following properties to
specify the record:+
|
||||||||||||||||||||||||||||||||||||
showProgressIndicator
|
Displays
a progress dialog with the specified message.
Xrm.Utility.showProgressIndicator(message)
|
Deprecated methods
The
following table lists the new methods you should use instead of the deprecated
methods in the Xrm.Utility namespace.
These
methods were deprecated in Dynamics 365 (online), version 9.0.
Deprecated Method
|
New method to be used
|
alertDialog
|
Xrm.Navigation.openAlertDialog
|
confirmDialog
|
Xrm.Navigation.openConfirmDialog
|
getBarcodeValue
|
Xrm.Device.getBarcodeValue
|
getCurrentPosition
|
Xrm.Device.getCurrentPosition
|
openEntityForm
|
Xrm.Navigation.openForm
|
openQuickCreate
|
Xrm.Navigation.openForm
|
openWebResource
|
Xrm.Navigation.openWebResource
|
0 comments:
Post a Comment