Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Dependent Lookups based on Option Set Value

(0) ShareShare
ReportReport
Posted on by

I need to change lookup field values based on values selected in an Option Set. I know that you can change a lookup field based on another lookup field value through OOB means, and I also know how to change option set values based on values selected in another option set (through SDK), but how do you change the look up field values based on an option set value selected?

For eg., I have an option set with values A & B. When the value A is selected, I want the lookup to show 'Contacts' options, and when option B is selected, I want it to show 'Users' options.

Any help would be highly appreciated. Thanks!

*This post is locked for comments

  • Wayne Walton Profile Picture
    13,728 on at
    RE: Dependent Lookups based on Option Set Value

    Glad that worked.  :)

  • Community Member Profile Picture
    on at
    RE: Dependent Lookups based on Option Set Value

    Wow, dint think of such a simple OOB solution, thought I might have to include some complex JS code! Thank you so much Wayne, it worked!

  • Verified answer
    Wayne Walton Profile Picture
    13,728 on at
    RE: Dependent Lookups based on Option Set Value

    You can't make custom compound lookups, other than Contact/Account lookups.  If you want to have a choice of Contacts or Users, you will need to have two separate lookups, and then use Business Rules to hide and show the correct lookup based on the Option Set selection.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans