This blog aims to provide some technical tips about Microsoft Azure & Dynamics 365 CRM - D. MANJALY
"тнιѕ вℓσg ¢συℓ∂ ѕανє уσυя мσηєу ιƒ тιмє = мσηєу" - ∂.мαηנαℓу
Showing posts with label How to retrieve the optionset text / value using javascript in CRM 2011 OR How to get the optionset text / value in CRM 2011. Show all posts
Showing posts with label How to retrieve the optionset text / value using javascript in CRM 2011 OR How to get the optionset text / value in CRM 2011. Show all posts
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();
Subscribe to:
Posts (Atom)