How to retrieve the optionset text / value using javascript in CRM 2011 OR How to get the optionset text / value in CRM 2011
Code snippet:
var myOptionSet = Xrm.Page.data.entity.attributes.get("optionsetattributename");
var optionSetValue = myOptionSet.getValue();
var optionSetText = myOptionSet.getText();
Nice and good article. It is very useful for me to learn and understand easily. Thanks for sharing your valuable information and time. Please keep updating.
ReplyDeleteMicrosoft Azure Online Training