Get and Set Field Value Using Java Script In CRM

Brief: Suppose you would like to get or set the value of a field on Dynamics CRM Form.

Get the value of field
Xrm.Page.getAttribute("CrmFieldShcemaName").getValue();

Set the value of field
Xrm.Page.getAttribute("CrmFieldShcemaName").setValue(value);

Leave a Reply

Your email address will not be published. Required fields are marked *