Deprecated(Removed) and Replacement JavaScript statements in Dynamics 365 Version 9.x

Summary : Dynamics 365 Version 9.x JavaScript Client API

Deprecated/Removed and Replacement JavaScript statements in Dynamics 365 Version 9.x JavaScript


Deprecated Client API
Replacement Client API
Xrm.Page
Forms: ExecutionContext.getFormContext 
Commands: Send it as the PrimaryControl parameter
Xrm.Page.context
Xrm.Utility.getGlobalContext
Xrm.Page.context.getQueryStringParameters
formContext.data.attributes
Xrm.Page.context.getTimeZoneOffsetMinutes
globalContext.userSettings.getTimeZoneOffsetMinutes
Xrm.Page.context.getUserId
globalContext.userSettings.userId
Xrm.Page.context.getUserLcid
globalContext.userSetings.languageId
Xrm.Page.context.getUserName
globalContext.userSettings.userName
Xrm.Page.context.getUserRoles
globalContext.userSettings.securityRoles
Xrm.Page.context.getIsAutoSaveEnabled
globalContext.organizationSettings.isAutoSaveEnabled
Xrm.Page.context.getOrgLcid
globalContext.organizationSettings.languageId
Xrm.Page.context.getOrgUniqueName
globalContext.organizationSettings.uniqueName
Xrm.Page.data.entity.getDataXml
No change in the method, but use "typename" instead of type for lookup attributes.
GridRow.getData
GridRow.data
GridRowData.getEntity
GridRowData.entity
Xrm.Mobile.offline
Xrm.WebApi.offline
parent.Xrm

addOnKeyPress
Use a custom control
removeOnKeyPress
Use a custom control
showAutoComplete
Use a custom control and corresponding UI
hideAutoComplete
Use a custom control and corresponding UI
Xrm.Utility.alertDialog
Xrm.Navigation.openAlertDialog
Xrm.Utility.confirmDialog
Xrm.Navigation.openConfirmDialog
Xrm.Utility.isActivityType
Xrm.Utility.getEntityMetadata
Xrm.Utility.openEntityForm
Xrm.Navigation.openForm
Xrm.Utility.openQuickCreate
Xrm.Navigation.openForm
Xrm.Utility.openWebResource
Xrm.Navigation.openWebResource

0 comments:

Post a Comment

Popular Posts