Does anyone know how to determine the search widget ID as referenced in Use URL parameters—ArcGIS Experience Builder | Documentation? The page seems to indicate that it can be viewed after being enabled in Manage URL Status, but even though I have a search widget added to my app, Manage URL Status doesn't recognize the widget to allow me to view the relevant parameter data in the URL.
I'm trying to see if there's a workaround to place a marker through the URL by enabling markers in the search widget and then executing a search through the URL, since it may be several months before ESRI adds a marker parameter.
Looks like the problem I was having is that the Manage URL Status doesn't recognize widgets in the header. For some reason, they have to be in the body. I was able to configure a search through the URL, but there's no parameter that allows for replication of the marker that the widget uses.
Hi @bdoventures
Manage URL status only recognizes widgets in the body. We are working on those in header and footer, it will come.
As for finding widgetId, there's no way to find it in the builder. You can find it by going to the developer tool console. Just run _appState.appConfig.widgets, you will see the list of widgets printed:
I have two search widgets here, with different labels and ids. It's easy to tell which one is in the header, just check your TOC:
Hi Shen, Is developer tool console that you are referring to the same as the console under "Inspect" in Google Chrome? I'm having trouble finding where to run _appState.appConfig.widgets. I greatly appreciate your help!
Yes, but please go to the "Console" tab and enter _appState.appConfig.widgets. When inspecting something on the page the DevTools should open "Elements" by default. The "Console" tab is just next to it.
Thanks Shen, I was able to find it. Much Appreciated!
I'm just now getting into experience builder and I've not done charts yet. But I was thinking that if you cannot get the search to work, a filter might work. You should be able to set the filter up work on user input.