Notifications
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 81 Super User 2025 Season 2
Gerardo RenterÃa Ga... 49 Most Valuable Professional
#ManoVerse 40