Select to view content in your preferred language

Programmatically open a widget that isn't On Screen

677
1
Jump to solution
01-23-2018 03:14 PM
MartinOwens1
Frequent Contributor

I'm publishing data from Robert Scheitlins Enhanced Search widget to another. I'm trying to open the widget whenever a search is performed. I'm using the Tab Theme and the widget I would like to open is in the Sidebar Controller.

 

I attempted this and can see the widget I want in the console but it's not opening. Plus I'm not sure if this is how you would go about it since it's in the sidebar.

 

 

var pm = PanelManager.getInstance();

        pm.showPanel(this.appConfig.widgetPool.widgets[1]);

 

 

Robert helped me with opening an on screen widget, but I can't seem to figure this one out. Any help would be great.

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
MartinOwens1
Frequent Contributor

Nevermind I found a thread from July 2016.

https://community.esri.com/thread/180567 

View solution in original post

1 Reply
MartinOwens1
Frequent Contributor

Nevermind I found a thread from July 2016.

https://community.esri.com/thread/180567