Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
pranaview
Creator III
Creator III

Clear All trigger not working on a Text Object tab

Hi Guys,

I am working on QV 12.10 version. So, in my app  I have multiple sheets and I have created tabs using text objects for each sheet and before deploying it, we hide the tabrow a general practice, so user only has tabs to navigate. Now what they want is to clear all current selections when they switch tabs.

I thought this should be pretty easy. So, I just went into sheet properties and added Clear All triggers for OnActive sheet action for all the sheets and it worked in the desktop view perfectly. The moment I switched to webview which is what the app is deployed in, it stopped working. So I started looking for a workaround and thought maybe I'll just add the same triggers on my sheet tabs i.e. Text objects > Properties > Actions and i did but it does not work even in the desktop version. 

I really need to get this done asap so any tip or suggestion will be very helpful.

Thanks,

Pranav

1 Solution

Accepted Solutions
pranaview
Creator III
Creator III
Author

Hi jerry,

Yeah, I have done just that and it's working now. I missed out on adding Triggers on few of the text objects which is why it was not working on those instances but now it's all sorted. I will close the thread.
Thanks for your reply anyway.

View solution in original post

3 Replies
hopkinsc
Partner - Specialist III
Partner - Specialist III

Hi.

apparently you have to have the tabs showing for sheet triggers to work. The workaround is the way you have suggested, create an action on each of the text boxes to 'clear all'. This should work. 

Are you able to provide an example? Just remove all of the data from your QVW and attach it here?

jerrysvensson
Partner - Specialist II
Partner - Specialist II

OnActivateSheet doesn't trigger in WebView.
Why can't you add the Clear All trigger to your Text object?

pranaview
Creator III
Creator III
Author

Hi jerry,

Yeah, I have done just that and it's working now. I missed out on adding Triggers on few of the text objects which is why it was not working on those instances but now it's all sorted. I will close the thread.
Thanks for your reply anyway.