AnsweredAssumed Answered

How to programmatically open a widgetOnScreen widget

Question asked by matt2521 on Oct 14, 2014
Latest reply on Feb 10, 2015 by AsmaaMohamed

Let's say I put the Basemap Gallery widget in the widgetOnScreen section of the main config.json. How do I programmatically open it?

 

This code does not work:

PanelManager.getInstance().showPanel(WidgetManager.getInstance().appConfig.widgetOnScreen.widgets[4])

 

Any insight would be helpful,

Thanks, Matt English

Outcomes