March 2020
Beginner to intermediate
426 pages
13h 11m
English
This object helps us work with the current entity record; for example, accessing entity properties. The following methods are available under this object:
| addOnSave | We can use this method to call our specific function on saving the entity form. We can use this method as follows:
formContext.data.entity.addOnSave(accountOnSave) |
| getDataXml | We can use this method to find out which field is updated on an entity form. This method provides us with an XML string where we can see the field that will be saved to the Dynamics 365 CE database:
formContext.data.entity.getDataXml(); |
| getEntityName | If we want to know the logical name of the current entity using client-side code, we can use this method. For example, if we use the following ... |
Read now
Unlock full access