Skip to main content

Notifications

Customer Service forum
Unanswered

How to get Global Option set Display name?

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

  • RE: How to get Global Option set Display name?

    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

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,802 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,133 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,154

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans