Home » Microsoft » PL-400 v.2 » HOTSPOT
HOTSPOT
A model-driven app has the following JavaScript code. The code is attached to the OnChange event of the Phone (telephone1) field on the Account entity.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:
Correct Answer:
Explanation/Reference:
Explanation:
Box 1: Yes
Xrm.WebApi.updateRecord updates a table record.
Syntax:
Xrm.WebApi.updateRecord(entityLogicalName, id, data).then(successCallback, errorCallback); Box 2: Yes Box 3: No No action would be taken.
Reference:
https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-webapi/updaterecord