I have a chart element in a section on my form, I need to hide the chart according to some rules, I know the way to hide a tab or a section but If I want to show/hide chart element according to it's unique name what is the xrm\Js syntax ?
1 Answer
If you see something similar to this on a form:
It's nothing more than a subgrid set as a chart:
If I get your situation you just need to implement the logics and execute "form context or xrm.page or whatever you use + .getControl("Subgrid_unique_name").setVisible(false/or/true);
"
Where false hide and true shows