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,...
Suggested Answer

How to get all the Options Registered in a Choice in Dynamics CRM Plugin Using C#

(0) ShareShare
ReportReport
Posted on by 50

Hi,

I have a use case where i need all the options registered in a choice.

example : Choice     crm_Fruits

                 Options:    mango      510001

                                  Strawberry  510002

                                  Orange     510003

i need all the Options from the choice crm_Fruits

Please help me the Code Snippet or the Functions from which i can achieve this this.

Thanks.

I have the same question (0)
  • Suggested answer
    - Matt Bayes - Profile Picture
    890 on at

    Hi Harshith,

    There is an OOTB message in Dynamics called RetrieveOptionSetRequest that can be used to get the Option Set Metadata for the specific Option Set. This metadata contains information about all of the available options, their labels, and the associated values.

    Here's a blog that outlines how to get the options, as well as how to filter to the specific option if you need to get the Option Set Text:

    thabisomotloung.wordpress.com/.../

    I hope this helps solve your issue!

    Thanks!

    Matt Bayes

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 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 61

#3
Gerardo Rentería García Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans