Select to view content in your preferred language

Switch the query layer base on the URL parameter ?

706
4
10-20-2021 01:06 PM
LeLuong
Regular Contributor

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
MVP 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
Regular Contributor

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
Occasional Contributor

Not possible OOTB afaik. Will need custom coding

LeLuong
Regular Contributor

Thanks @vtey_esriau .

0 Kudos