Expand/collapse Sidebar with Button Widget?

484
2
08-24-2020 02:28 PM
JamesBlouin
New Contributor II

Is it possible to expand/collapse a sidebar with a button widget or any other button like widget?

For example, in the attached picture, I have a Survey123 widget nested in the "Second" sidebar and a map in the "First" sidebar. I have a button placed on the map that I would like to click and have it expand the sidebar with the Survey123 widget.

I tried to get cute by nesting a Section/View in the sidebar and linking the View to a Button to get it to expand the sidebar. Didn't work. Seems like it's not possible.

Tags (1)
0 Kudos
2 Replies
DavidMartinez
Esri Regular Contributor

Hi James,

Unfortunately no. The ability to have a dynamic sidebar is something we would like to improve and this type of feature is in our enhancements list. An alternative is to add a window and add the survey widget in it and have the button open the window. It is basically a modal, so the focus will be on the survey. 

David 

0 Kudos
JamesBlouin
New Contributor II

Thank you, David. That's a good suggestion!

I ended up moving the survey to a view within my fixed side-panel so I could still use a map without the survey window closing. Another alternative I found was to use the "widget" widget and add the survey widget as an icon - which brings up a portable survey window.

0 Kudos