Showing posts with label Saving the Picklist Value in CRM 2011 using javascript. Show all posts
Showing posts with label Saving the Picklist Value in CRM 2011 using javascript. Show all posts

Thursday, July 14, 2011

Saving the Picklist Value in CRM 2011 using javascript

Xrm.Page.getAttribute('picklistname').setValue(1);

Xrm.Page.data.entity.save();

Here I am selecting the element with the value 1.So corresponding Text value will be shown and the second line will save the value by calling save method.

Cheers!!