Skip to main content
Nintex Community Menu Bar

Hi everyone,

I created a Smart Form with a Main View that when is filtered or someone click an item it will filter all other views. My question is, can I show the views ONLY when there is some data in it?

I didn't see how do that.

ThanksĀ 

Hi, 



 



Im assuming that you are using listviews:
1. On your form design, uncheck the "Visible" option of the view. That will automatically make the view invisible when the form loads:





2. In your rules, on the "When the form is initializing " rule, add a for loop and select "all" and your listview:





3. Add an advance condition and filter by the smarobject that your listview is using, you can filter by any property that has data, i just use "ID" because it always has data as it is a primary key:





4. Finally, use the "Set a view's properties" action and make the view visible:





 Logic: The system is going to loop through all the items in the smartobject and if it cant find any, then its not going to display the view.



 



Kind Regards



Prineel


Thank you, I was doing a similar solution by using the count. I didn't know about "When the form is initializing " rule.



Great I will test 


Reply