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
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
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
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,802 Super User 2024 Season 2
Martin Dráb 229,133 Most Valuable Professional
nmaenpaa 101,154