Wednesday 7 February 2018

How to set the option set value dynamically using javascript.

How to set the option set value dynamically using javascript.

Description:


In this example we explain that how to get and set a OptionSet field using JavaScript in Dynamic CRM.or how to set OptionSet value Dynamically using JavaScript in Dynamic 365.or how to update the Option Set Value using JavaScript in Dynamic 365.or how to set OptionSet field value in Dynamic CRM using JavaScript. Or JavaScript to select a value in OptionSet filed in Dynamic CRM.

So here we demonstrate that how to set OptionSet Details in Dynamic 365 using JavaScript. Below is the JavaScript code to Get or Set the OptionSet field text/value in Dynamic CRM.
Code:


Xrm.Page.getAttribute("new_substage").setValue(100000000);

0 comments:

Post a Comment