This blog aims to provide some technical tips about Microsoft Azure & Dynamics 365 CRM - D. MANJALY
"тнιѕ вℓσ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();
Subscribe to:
Post Comments (Atom)
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