AnsweredAssumed Answered

Opening and closing panels through Programmatically in WAB for Box theme is not working

Question asked by ibrahimd13 on Oct 24, 2019
Latest reply on Oct 25, 2019 by rscheitlin

Hi,

I am trying to open the other panel and closing the current panel by using the below code, which is working for Foldable theme in WAB but not working for Box theme correctly.

 

var pm = PanelManager.getInstance();
var layerListWidget = null;
layerListWidget = pm.widgetManager.appConfig.widgetPool.widgets[0];
PanelManager.getInstance().closePanel(this.id + "_panel");
PanelManager.getInstance().showPanel(layerListWidget);

 

Do anyone have any idea, how to achieve this for Box Theme?

Outcomes