Hi all,
I'm hoping someone with more javascript knowledge than me can help. I've been following the instructions on the MSDN sample to create Dependent OptionSets (https://msdn.microsoft.com/en-us/library/gg594433.aspx) on my Account entity. I've managed to implement this successfully, however I am having a bit of trouble with utilising it twice on the same form.
To give a brief overview: We currently have a "Region" and "Sub-Region" selector on our account form, and the "Sub-Region" OptionSet is filtered dependent upon the "Region" selected. I've managed to get this working by following the instructions in the MSDN sample.
I've now been requested to add a filter to select a business type based on 3-tiered options (i.e. Selecting a Tier One option filters the Tier 2 options, which then filters the Tier 3 options). Again I can get this to work following the instructions in the MSDN sample.
My problem: I cannot get both dependent OptionSets to operate on the same form. I am assuming it is a function conflict, but my java skills are fairly limited so I'm hoping someone can offer some advice
Thanks,
Ryan
*This post is locked for comments
thanks for your help guys.
HIMBAP, I was using the CRM Option Sets solution provided by Guido, and he very kindly offered me some help, and that has resolved the issue, and i think the update is now available on his website for downloading.
For clairification though, the issue was related to a timeout within the script, and the fact that I had two JSON configurations using the same functions. The issue was resolved by combining the JSON configurations, so there should only be one JSON per form.
Thanks,
Ryan
Can you post your code? My guess is that you are reusing some code where it shouldn't be reused.
Hi Mahen,
I've tried using this tool and, while it works fine for creating one set of dependent optionsets, i can't seem to get it to function if there are two sets on the same form.
Thanks,
Ryan
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156