Select to view content in your preferred language

Group Filter URL Parameters

529
2
05-31-2023 05:05 AM
MarcoConopio2
New Contributor

I am trying to activate the group filter in my webapp via URL parameters.I have this Group Filter.

Screenshot 2023-05-31 200023.png

Hence my url is like this 

https://<your portal URL>/apps/webappviewer/index.html?id=<Item ID>&groupfilter={“Year”:[“2023”]}

However it doesnt seem to work and my webapp is not loading at all

Screenshot 2023-05-31 200248.png

 

Any idea why is it not working? 

0 Kudos
2 Replies
AlixVezina
Esri Regular Contributor

@MarcoConopio2  Just verified this on my end in the ArcGIS Online edition of Web AppBuilder and it seems to be working as expected, here's an example URL parameter.

AlixVezina_0-1685554839625.png

AlixVezina_1-1685554860367.png

At first glance, I'd say make sure the quotes are " and not  ?

If that doesn't resolve the issue, are you using ArcGIS Online or Enterprise Portal, or perhaps the developer edition? Any special security setup on your server?

 

0 Kudos
StuMcKay
New Contributor

@MarcoConopio2 did you ever get to the bottom of the issue you were experiencing? I'm getting the exact same error.  The filter works fine in the web app but when i try and control it through a URL i get the same error you were experiencing.

0 Kudos