Select to view content in your preferred language

Opening sidebar with table from "add to table"-action

139
2
04-14-2025 04:49 AM
MattiasEkström
Frequent Contributor

I want to use a sidebar to hide/show the table widget in my application. When using map layers widget and the action "add to table" the layers table is added to the table, but still doesn't show up because the sidebar is collapsed.

I haven't found any way to configure this in the ExB, I'm trying to fix it with a custom version of map-layers in developer edition, but I'm stuck.

Customizing the map layers widget was probably not the smartest thing to start with as my first task with the developer edition. But I have managed to customize the information action as well as implement some of the features from Brian_McLeers Map Layers Widget Custom 1.17 and have managed to open my sidebar, but not from the right action.

I have code to identify and open the sidebar, but right now it is running from a function that is called when the entire action menu is opened. It seems that there are different types of actions, those specific to the map layers widget, like info/details and other "data actions" like "add to table" and I can't find any function that is triggered when the user clicks on "add to table". I'm guessing that it doesn't even happen in the map layers widget but rather is handled by data actions somewhere else? But is there any way I can get my code to open the sidebar to run on the 'add to table' action without changing more places than in my custom map layers widget?

0 Kudos
2 Replies
JeffreyThompson2
MVP Frequent Contributor

https://community.esri.com/t5/arcgis-experience-builder-ideas/table-added-action/idi-p/1537079

I don't have a solution to your problem, but here's my Idea to get this workflow officially supported.

GIS Developer
City of Arlington, Texas
0 Kudos
MattiasEkström
Frequent Contributor

I've already kudos that idea! 😀

I'm guessing that 1.17 will be what comes with Enterprise 11.5, and that is the last version to support WAB, so I think I will be working with 1.17 for a long time before we have all our customized WAB widgets ported to ExB. 

0 Kudos