When using Dynamics CRM 365, I would like to find a way to get the labels and values from a global OptionSet, using the Javascript library "XrmServiceToolkit" and the Soap method (we need it to be async).
Thanks.
When using Dynamics CRM 365, I would like to find a way to get the labels and values from a global OptionSet, using the Javascript library "XrmServiceToolkit" and the Soap method (we need it to be async).
Thanks.
The solution I found working:
Getting all the attributes of the OptionSet:
Afterwards you can access the values and labels like so:
Hope it helps someone.