Hi All,
I have an optionset field in two different tabs. I need to filter the options in optionset according to a value in another field.
I am using the javascript on the change of value for that field. I am able to filter the options as well.
But the problem is, the options are getting filtered only for the optionset present in the Summary tab and not in the other tab though the schema name of the field is same.
The code i have used is:
var optionsetControl = Xrm.Page.ui.controls.get("fieldschemaName");
var options = optionsetControl.getAttribute().getOptions();
optionsetControl.clearOptions();
Is it possible to get the control of attribute using label of field instead of schema name
Please suggest any help.
Thanks
*This post is locked for comments
I have the same question (0)