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 :
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

I have the same question (0)
  • Verified answer
    Wayne Walton Profile Picture
    13,730 on at

    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.

  • Community Member Profile Picture
    on at

    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!

  • Wayne Walton Profile Picture
    13,730 on at

    Glad that worked.  :)

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans