"тнιѕ вℓσg ¢συℓ∂ ѕανє уσυя мσηєу ιƒ тιмє = мσηєу" - ∂.мαηנαℓу

Thursday, 31 March 2011

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();

No comments:

Post a Comment