Is there any way to initiate an eSearch query outside of eSearch. Is it possible, for example, to send a query that will open eSearch, use the eSearch widget to run a query on a particular layer and update the AttributeTable widget?
Correct the url search is just for doing a search on app start. For you do do a search using eSearch widget from another widget then you would have to get a reference to the eSearch widget using WidgetManager and then call the search function like this
eSearchWidget.search(null, slayerId, exprNum, valsArr, null, false);
The eSearch widget has a documented URL Search parameters section in the help.
Ok I read the help. In my case I want to take the parcel number from one widget in a WAB app and send it through the eSearch widget in the same app. Is that possible?
This is the expression I would use:
Or is this just designed to fire off outside of the WAB app? Something like this:
That makes sense. I can see where both options could come in handy.
Thanks for your help and quick response.
Retrieving data ...