Create a new layer every time the query is executed in Experience Builder

326
2
01-12-2023 07:08 AM
Labels (1)
DJB
by
New Contributor III

When setting up the the Query widget in the Web App Builder (WAB) I was able to add the query results to the layer list that my users could then toggle on and off.  Does this functionality exist in the Experience Builder (EB)?

DJB_0-1673535499885.png

 



I am able to configure the Query widget to add the selection results as a graphic to the map but it unfortunately does not appear in the Layer List.  Is this something that I can do in EB or if not, is this in any future plans for EB?

Thanks...

~Dan

0 Kudos
2 Replies
LefterisKoumis
Occasional Contributor III

Layer list shows layers not graphics. Create a feature layer and then add the graphic. It will then show the layer. This can be done with custom script.

0 Kudos
DJB
by
New Contributor III

Thanks for your response but I don't think it's feasible to create a new feature service every time one of my users makes a query.  All I'm asking for is the same functionality that already existing in the WAB.  In the WAB there was a setting that created a temporary query results service that was stored in the layer list and once the user closed their app / session the query results service disappeared.

I'm not asking for Esri to create something new, just give us what already existed before.

0 Kudos