Switch the query layer base on the URL parameter ?

211
4
10-20-2021 01:06 PM
LeLuong
New Contributor III

All.

Is there a way I could use the URL parameter (ex: year ) to tell filter widget to pick the right layer to do the filter on ?  Is it even possible ?  Thank you.

0 Kudos
4 Replies
ABishop
Regular Contributor

Is there a reason you need to us a URL parameter?  You can set the filter widget to use expressions determined by the user.

Amanda Bishop, GISP
0 Kudos
LeLuong
New Contributor III

The idea is to have it automated as much as possible for users.  Users will open the app from a hyperlink in other app.  When my app opens it's zoomed to the selected polygon (through URL parameter) .  Now having multiple years to the app makes it tricky.  Thanks.

0 Kudos
vtey_esriau
New Contributor II

Not possible OOTB afaik. Will need custom coding

LeLuong
New Contributor III

Thanks @vtey_esriau .

0 Kudos