render only when filtered

801
2
08-10-2022 11:53 PM
Status: Open
Labels (3)
JavierMadoz1
New Contributor III

Hi,

I find the "render only when filtered" dashboard option in the actions very useful, especially when the layer involved has many records that make it difficult to visualize it on a map.

I have not managed to do the same in Experience Builder.

It occurs to me that this functionality would be useful in the filter and query widgets.

Thank you.

JavierMadoz1_0-1660200651725.png

2 Comments
DasheEbra

did you get any work around for that?

PhilipWeeks

I came up with a really stupid looking work around.  It only works if your filter bank is OR'd, but if you have a filter with "Apply this filter automatically" and that always evaluates to false, this keeps the layer hidden until they turn on another clause in the OR group.  It looks stupid because you to have this workaround filter at the top of the list and that you'd have to name something like "Hide layer when not filtered" or "Don't turn this off".  A silly workaround for this is that I'm just going to put an opaque text box on top of that workaround filter so people can't see it.