// JavaScript/JScript in CRM 2011 | CRM 2011 Training Series
    //How to Get the value from a CRM field
    var varMyValue = Xrm.Page.getAttribute(“CRMFieldSchemaName”).getValue() ;

//How to Set the value of a CRM field
Xrm.Page.getAttribute(“po_CRMFieldSchemaName”).setValue(‘My New Value’);

 **For CRM 2011 Training, please check out our CRM Training page. Please share |Like in Facebook if you feel like this page is useful.

Advertisements