Skip to main content
Post a question

Notifications

Community site session details

Community site session details

Session Id : bDTx+aHJNfurcZTXLw3m3h
Microsoft Dynamics CRM (Archived)

How to create dependable option set. I have two option set fields "new_dispostion" and new_sub_disposition.

Like (0) ShareShare
ReportReport
Posted on 21 Sep 2015 10:45:18 by

Hi,

How to create dependable option set for the below mentioned scenario in Jscript.

I have two option set fields 1) "new_dispostion" and 2) new_sub_disposition.

new_disposition Optionset contains values "breakdown" and "others".

And new_sub_disposition option set contains values Prank call, Test call, M&M Call, Sales call.

If I select Breakdown in new_disposition, I have to get "prank call" and "test call" values in the drop down of "new_sub_disposition".

if I select others in the new_diposition, I have to get "M&M call" and "Sales call" in the drop down of "new_sub_disposition".

Thanks in advance

Regards,

Vignesh Babu

*This post is locked for comments

  • Community Member Profile Picture
    on 26 Sep 2015 at 12:26:10
    RE: How to create dependable option set. I have two option set fields "new_dispostion" and new_sub_disposition.

    Hi Vignesh, Let us know the approach  you took. I like Chitra's suggested link.

    best wishes,

    harihar

  • Community Member Profile Picture
    on 26 Sep 2015 at 10:48:55
    RE: How to create dependable option set. I have two option set fields "new_dispostion" and new_sub_disposition.

    Hi Vignesh,

    Did you get on with your requirement ?

    Regards,

    Kamran

  • Suggested answer
    Community Member Profile Picture
    on 21 Sep 2015 at 17:43:12
    RE: How to create dependable option set. I have two option set fields "new_dispostion" and new_sub_disposition.

    Hi Vignesh,

    I would suggest:

    1. Create two Entities as Disposition & Sub Disposition.

    2. Add Look of Disposition Entity on Sub Disposition and mark it as mandatory.

    3. Now you can create all master records in Disposition Entity.

    4. Then create Sub disposition records and do mapping with disposition record .

    5. Here you are ready with Masters.

    6. Now add the lookup of both Disposition & Sub Disposition on required Entity.

    7. After Adding both fields lookup on form . Double click on Sub Disposition field.

    8. Drag down in General section and do the record filtering as shown in below screen shot.dis.JPG

    Note: I am suggesting to add lookup instead of Option set because if future if you have to add more value in both fields then it will be configurable masterand you need not to do code change.  It always recommended to do less coding if its doable from CRM configurations. Hope this helps. !!

    Regards,

    Kamran

  • Royal King Profile Picture
    27,686 on 21 Sep 2015 at 13:30:38
    RE: How to create dependable option set. I have two option set fields "new_dispostion" and new_sub_disposition.

    Rather than using dropdown list for this scenario i would suggest creating new entity for both optionset and applying filter on the lookup. This approach allows users to add remove values easily and this can be changed whatever way you want.

    To implement this you can follow below post

    www.powerobjects.com/.../microsoft-dynamics-crm-2011-filtered-lookups

  • Arpita Saini Profile Picture
    on 21 Sep 2015 at 12:05:27
    RE: How to create dependable option set. I have two option set fields "new_dispostion" and new_sub_disposition.

    Another way of doing can be as below:-

    blog.crgroup.com/cascading-dependent-option-sets-in-dynamics-crm-2013-and-crm-2015

  • Rajkumar Rajaraman Profile Picture
    on 21 Sep 2015 at 11:45:52
    RE: How to create dependable option set. I have two option set fields "new_dispostion" and new_sub_disposition.

    Is this what you are looking for?:

    thabisomotloung.wordpress.com/.../dependent-option-sets-in-ms-crm-2015

    Refer this thread also:

    community.dynamics.com/.../160413

  • Ammar Zaied Profile Picture
    1,670 on 21 Sep 2015 at 11:25:42
    RE: How to create dependable option set. I have two option set fields "new_dispostion" and new_sub_disposition.

    Hi Vignech,

    this link can assist you :

    msdn.microsoft.com/.../gg594433.aspx

    but, in the step 4 replace "sample_TicketDependentOptionSetConfig.xml" -> "sample_TicketDependentOptionSetConfig"

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 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,348 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,478 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Loading complete