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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Unanswered

How to get Global Option set Display name?

(0) ShareShare
ReportReport
Posted on by 5

Hello experts,

I am on D365 online and working on HTML web resource and I want all Global option set on <select></select> tag.

I used below web API,

1. "MyOrg/api/data/v9.1/EntityDefinitions?$select=LogicalName&$expand=Attributes($select=LogicalName,AttributeType,DisplayName;$filter=AttributeType eq Microsoft.Dynamics.CRM.AttributeTypeCode'Picklist')"

but this API getting 633 Picklist records but actually in environment only 46 global option set is there so I am not getting proper data that's why I used below API,

2. "MyOrg/api/data/v9.1/GlobalOptionSetDefinitions" - this API doesn't have Display Name only showing Schema name

But 1st API returning Display name how I can get all global option set whatever present in environment?

Thanks In Advance

  • Liliana Reis Profile Picture
    Microsoft Employee on at

    Hello Kiran,

    I tried on my Vanilla and if I use the following query we also get the DisplayName :

    /api/data/v9.1/GlobalOptionSetDefinitions?$top=1

    pastedimage1588838890710v2.png

    Could you please try again, and let us know the result?

    Liliana Reis, 

    Thank you for using Microsoft Dynamics 365 Communities,

    community.dynamics.com/.../dynamicscrmsupportblog

    Dynamics CRM Support Engineer - Customer Engagement

    Microsoft

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Daniyal Khaleel Profile Picture

Daniyal Khaleel 62 Most Valuable Professional

#2
11manish Profile Picture

11manish 23 Super User 2026 Season 2

#3
Travis South Profile Picture

Travis South 10

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans