Skip to main content

I'm trying to set up some rules to hide a List View control when nothing is showing up in it.  (Specifically, when nothing is showing up in the view set up on the library referenced in the List View control settings.)  I can't find any good way to target it, though.  I tried setting a rule on the control to hide the control if isNullOrEmpty({Self}), but I found that that rule hides the entire control no matter what.

Is there any way to set up rules affecting List View controls?  It seems like you can't name them or target their properties.  Any ideas?

I would say you will have to write your own javascript function that determines  whether listview is empty or not.

then you can base the rule or custom validation on result of that function.


Has anyone tackled this yet that would like to provide the code?


Reply