AnsweredAssumed Answered

How to open a widget from a controller programmatically ?

Question asked by mvillemontesrifrance-fr-esridist Employee on Oct 26, 2015
Latest reply on Oct 26, 2015 by mvillemontesrifrance-fr-esridist

Opening a widget from a placeholder can be done using PanelManager's showPanel method. However what if the widget is located in a controller ?


So far the only solution I found is to call the controller's method which open a given widget :


var controller = WidgetManager.getInstance().getWidgetsByName('MyThemeController');


The problem with this solution is that not every theme controller implement such method.