Retrieve OptionSet Metadata using JavaScript – Dynamics 365 CE/Microsoft Dynamics CRM

Hi Everyone,

Today I got a requirement to retrieve Optionset Metadata using JavaScript.

Here is the code for the same.

function getOptionSetMetadata(schemaName) {
    var schemaName = "industrycode"; // You can pass this as a parameter to this function and comment this line.

    var optionSetFetch = `<fetch version='1.0' output-format="xml-platform" mapping='logical'...

Continue Reading Gopinath’s Article on their blog

Retrieve OptionSet Metadata using JavaScript – Dynamics 365 CE/Microsoft Dynamics CRM

Hi Everyone, Today I got a requirement to retrieve Optionset Metadata using JavaScript. Here is the code for the same. function getOptionSetMetadata(schemaName) { var schemaName = “industrycode”; // You can pass this as a parameter to this function and comment this line. var optionSetFetch = `

Blog Syndicated with Gopinath’s Permission

Author: Gopi Nath

Share This Post On
Share via
Copy link
Powered by Social Snap