Show Filter/tool as On
Hey all,
I have a workflow that lets users define a filter, which feeds into a definition query on a polygon layer. They sometimes forget the filter is applied. I want to know if there is a good way to set a message within the map frame or some other method that would be obvious to a user that the filter is applied. I can't use a Toggle button because the form in the radio button allows them to 'show all records' so essentially there is no filter applied then.
In the past (7-8 years ago) I thought I read there was a way with TypeScript to populate a text element in the map frame. This could be theoretically triggered to appear via the workflow if certain conditions were met.
Anyway, just wanted to see if anyone has dealt with this, and if so, a logical process to handle this. Open to any suggestions.
0
-
You can use an AddStatus external command (https://docs.geocortex.com/essentials/gvh/4.13/commands-help/#/commands/Map%20Widget/AddStatus) from your workflow to bring under attention of your user a filter is applied. 0 -
Awesome. Thanks Nico. That is exactly what I needed. 0 -
Hi Ryan,
I am trying to apply a filter through a workflow. I was trying to use the run command "ApplyFilterControlQuery" but I am having no luck. I was passing in the ID from a saved query and the query string.How did you successfully apply a filter in workflow?
0 -
Hi Ali, I ended up just using the Set Layer Definition activity, and making the toggle button work to apply or remove the filter. 0 -
Thanks Ryan! This is exactly what I was looking for. 0
Please sign in to leave a comment.
Comments
5 comments