XRM-OSS / Xrm-WebApi-Client

A promise-based JavaScript library for the Microsoft Dynamics CRM WebApi - TypeScript type definitions available
https://xrm-oss.github.io/Xrm-WebApi-Client/
MIT License
100 stars 28 forks source link

HELP: How to retrieve OptionSet's #28

Closed fvakiliev closed 6 years ago

fvakiliev commented 6 years ago

Hi Florian,

Please send example for how to retrieve lists of Global/Local OptionSet's and StatusReasons (statuscode). Like there: https://<crm-org>/api/data/v8.2/GlobalOptionSetDefinitions(Name='cp_opportunityreasonsoflost')

Thanks, OldCat

DigitalFlow commented 6 years ago

Hi @fvakiliev,

I did that using WebApiClient in here. You can basically just copy it, Xrm-Quick-Edit is retrieving the option sets in the translation dashboard. You can try it out using the Option Set translation option for an entity.

I'll close this issue, please reopen if you need more information.

Kind Regards, Florian