Hello every one, i have application build in web app builder.
I want to make dynamic filter for specific layer using URL query parameter and apply the filter
thanks
Solved! Go to Solution.
Sure just add the FilterManager require to what ever js code you want (like MapManager) and use a line like this:
FilterManager.getInstance().applyWidgetFilter(layerId, null, "your sql expression");
Sure just add the FilterManager require to what ever js code you want (like MapManager) and use a line like this:
FilterManager.getInstance().applyWidgetFilter(layerId, null, "your sql expression");
thanks Robert Scheitlin, GISP
can i get value of sql expression from url paramters
You can use MapManager.getInstance().urlParams that will give your the url parameters.