-
The post explains how to use the formContext.getAttribute(arg).getIsDirty() web API to check for unsaved changes in column values of a record. It provides examples of using the method for different types of attributes and suggests actions based on the state of the column. The API is a valuable tool for customizing form behavior.
-
The post discusses how to retrieve records in CRM using Xrm.WebApi.retrieveRecord(). This method allows fetching a single record by ID and entity name, with options to specify attributes and relationships in the response. Code examples demonstrate retrieving records with all attributes, specific attributes, and related records. The post emphasizes handling success and error callbacks.
-
The blog post explains the usage of Xrm.WebApi.updateRecord() method in Dynamics 365. It covers the method’s syntax, parameters, success and error callbacks, and provides code examples for updating different types of fields. Use cases include changing record owners, updating option set and multi-select option set fields.