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

Announcements

No record found.

News and Announcements icon
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
    748 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 209 Super User 2026 Season 1

#2
CU11031447-0 Profile Picture

CU11031447-0 100

#3
NeerajPawar Profile Picture

NeerajPawar 71

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans