web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Fetch Only Label and Value of Global Option Set using WEB API V9

(0) ShareShare
ReportReport
Posted on by

Dear Friends

Please guide me how I will fetch the only (Label and Value) of Global Option Set using WEB API V9. Currently I using the following but it shows whole metadata, But I want only Label and Value.

https://d365sample1.api.crm6.dynamics.com/api/data/v9.1/GlobalOptionSetDefinitions(Name='new_category')

fetch-global-set.png

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Radu Chiribelea Profile Picture
    6,667 on at

    Hello,

    Can't you parse the response within your application and extract the values from there?

    Regards,

    Radu

  • Community Member Profile Picture
    on at

    Dear Radu

    No I do not want to parse the json and get the Value. I want to see in browser.

    Look forward to your kind reply

  • Suggested answer
    naresh babu Profile Picture
    425 on at

    Try once, with Odata services "organizationurl+/xrmservices/2011/OrganizationData.svc/" EntitySet+$filter(or)$select eq..............  

    Please refer the below link:-

    community.dynamics.com/.../javascript-odata-query

  • Community Member Profile Picture
    on at

    Dear N B

    Is there any way to fetch only Labels and Values of Global Option Set by HTTP Web API ?? I dont want to Traverse the Fetched records by JavaScript or jQuery and then filter out Label and Value.

    What I want, I just write the WEB API (Get Request url) in browser ( d365sample1.api.crm6.dynamics.com/.../GlobalOptionSetDefinitions(Name='new_category') ) and it will return only Labels and Values.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans