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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Filter an Option Set

(0) ShareShare
ReportReport
Posted on by

Hi!!!

Is it possible to filter an option set based on the value select in a lookup?

I have a lookup with 9 different teams, I also have an option set with different tasks that those teams are in charge to do.

But I want that every time that somebody chooses a different team, the options set shows just the tasks related with the team they choose.

Is that possible?  

I'm learning CRM not very sure how to do something like that!!

THANKS!

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Filter an Option Set

    Hi,

    There is a sample of deoendent optionset in sdk. Take a look and see if suits your requirement.

    msdn.microsoft.com/.../gg594433(v=crm.8).aspx

  • Suggested answer
    Aric Levin - MVP Profile Picture
    30,188 Moderator on at
    RE: Filter an Option Set

    Another choice is to have Filtered Lookups.

    The second lookup will be an entity that will contain a field for the value, and another field containing a lookup to the first entity.

    Think of a scenario having an entity for States and Cities.

    The first lookup will have the State, when you select the State, it will auto populate in the second lookup the list of cities for that state.

    See the following article explaining how this works.

    www.powerobjects.com/.../how-to-use-dependent-lookups-for-dynamics-crm-201320152016

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: Filter an Option Set

    Hello,

    Here is overview how you can control list of items displayed in optionset - neilparkhurst.com/.../javascript-control-optionset-values

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
Christoph Pock Profile Picture

Christoph Pock 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans