JennyZ
Nintex Newbie

How to stop a subview

I have a List view on a form, when you double click each row of the list, it should pop out different subview accordingly. Currently, they will pop out 3 subviews at the same time, how can I stop the other 2 subview to pop out, while I only want one subview pop out each time when i click the row. Thanks.

0 Kudos
Reply
10 Replies
Prineel
Design Canvas Artiste

Re: How to stop a subview

Hi @JennyZ,

 

Does your rule look like this, can you send a screenshot of your rules if possible?

b5aca0a6-a8a4-4b24-88eb-be6f96d8d1a2.png

 

Kind Regards

Prineel

0 Kudos
Reply
JennyZ
Nintex Newbie

Re: How to stop a subview

8fe016bf-e170-42ff-87f2-1993ee03a7bb.png

As you can see, i only need to open a subview at a time

0 Kudos
Reply
Prineel
Design Canvas Artiste

Re: How to stop a subview

Hi @JennyZ,

That will open 3 SubViews, what the rule is doing is: for an item in your listview that you double click, open all 3 subviews. Are you trying to open specific subviews based on the data from the row you click? 

 

Kind Regards

Prineel

 

0 Kudos
Reply
JennyZ
Nintex Newbie

Re: How to stop a subview

Yes, that is right. i use the filter in the “get list” to match the ID number in each subview. but the empty subviews showing the same time. How can i stop the empty subview to show? 

i have tried to used advanced condition or if the List View contains a specific value as a condition. Doesn’t work.  

 

0 Kudos
Reply
Prineel
Design Canvas Artiste

Re: How to stop a subview

Hi @JennyZ,

Am working on it, will get back to you hopefully within the next 2 - 3 hours.

 

Kind Regards

Prineel

0 Kudos
Reply
JennyZ
Nintex Newbie

Re: How to stop a subview

Thank you very much Prineel

0 Kudos
Reply
Prineel
Design Canvas Artiste

Re: How to stop a subview

Hi @JennyZ,

 

I just want to clarify what you are doing. So what I understand is that your sub views contain list views. From your main ListView, you want to match the ID from a specific sub view’s list view to open the subview. So all of your listviews in your subviews have unique IDs, so for example SubView 1 and 2 does not have the same ID value of  “1”? Please let me know if that made sense.

Kind Regards

Prineel

 

0 Kudos
Reply
JennyZ
Nintex Newbie

Re: How to stop a subview

Hi Prineel, 

My list view and three subviews do not have any common, they have different SmartObject as well. I populated the list view’s ID number (the automatic number) to the subview’s LogID number, (which is not the subview’s automatic ID number, it is a different number). My point is: when you click on the list view, then through the get list function’s filter to retrieve the LogID number to decide which subview data to display. Currently, the retrieve function is working, that is why, the other two subviews window show the empty value in the window, but i just don’t want to show the other two empty window. 

let me know if my explaination is not clear, thanks again. 

 

J

0 Kudos
Reply
Prineel
Design Canvas Artiste

Re: How to stop a subview

Hi @JennyZ,

Have you tried the “if a control on a subview does not contain a value” rule?, this only works for one of my subviews, but maybe itll work for all of yours:
 

64a49039-acc3-417e-bf8f-4c9f1b8a4eb8.png
So the basic idea is to check whether the listView ID contains a value or not and if it doesnt, close the subview

 

0 Kudos
Reply