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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Retrieve values from Option Set

(0) ShareShare
ReportReport
Posted on by 5

Dear all, 

Is it possible to retrieve all values from Option set in Portal Management/Web Template? 

Regards, 

M

I have the same question (0)
  • Inogic Profile Picture
    703 on at

    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!

  • Manning Profile Picture
    5 on at

    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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 81 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

#3
#ManoVerse Profile Picture

#ManoVerse 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans