A fast and secure browser that's designed for Windows 10
Is there a working alternative to Xrm.Page.ui clearOptions and addOption in Microsoft Dynamics 2013 online?
It is taken from sample provided by Microsoft and is used for creating Dependent OptionSets:
This code works fine on MS Dynamics online based on 2011, but alerts ("undefined") in CRM 2013.
The code breaks on line 40: controls[ctrl].clearOptions();
I am trying to solve this problem, but with no luck
I'm sorry, is there any update to this question? Thanks.
I am also having the same problem. Any update to this issue?
I too came across this issue recently and figured out a workaround to this. I've blogged it here:-
Hope this helps.
Here is a solution that works fine.
If you use this solution, you need to make sure to check the "Pass Execution context as first parameter" checkbox on the Function SDK.DependentOptionSet.init on your form.