Announcements
No record found.
Dear all,
Is it possible to retrieve all values from Option set in Portal Management/Web Template?
Regards,
M
You can use WEB API to retrieve the EntityMetadata of the Option set attribute to get all the values, below is the reference link for the same.
Organization URL/api/data/v8.1/EntityDefinitions(70816501-edb9-4740-a16c-6a5efbc05d84)/Attributes/Microsoft.Dynamics.CRM.PicklistAttributeMetadata?$select=LogicalName&$expand=OptionSet,GlobalOptionSet
You can also refer to the below links for using WEB API in Portal.
https://www.inogic.com/blog/2021/03/execute-different-web-api-operations-using-powerapps-portals-preview
For more details regarding Query metadata using the WEB API, please refer to the below link.
https://docs.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/mt607522(v=crm.8)?redirectedfrom=MSDN#bkmk_queryAttributes
Hope this helps.
Thanks!
Hi, thank you for the answer.
If I use web api, as you mention from the first link, it is crm url, and client needs credentionals from crm to see those data. It does not work for me.
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.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
ManoVerse 209 Super User 2026 Season 1
CU11031447-0 100
NeerajPawar 71