Wednesday, March 16, 2011

CRM 2011 - Get and set Java Script Microsoft CRM 2011

Xrm.Page.getAttribute('statuscode').getValue()
Xrm.Page.getAttribute('statuscode').setValue(1)


Set value in picklist type :
Xrm.Page.getAttribute('statuscode').setValue(1).getSelectOption().text


Nicola Grillo