Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Just read the release notes for QV11.
Noticed that..."OnActivate and OnDeactivate Sheet Object Event triggers have been removed from QlikView 11."
For those of you that have already upgraded, how have you dealt with this issue. Is there a simple alternative?
Thanks,
Dan
Why would this feature be removed?
I have used this feature regularly in my apps. Just wondering if others do also?
I have certainly used them, and would expect to in future apps, so let's hope there's a good alternative.
This was discussed (I did some ranting), and we were given what I guess is the official QlikTech response, in this thread:
http://community.qlik.com/message/139636#139636
"Why remove these particular object level triggers? Well they are a cause of major issues, especially when used with the more relevant onSelect trigger for an object. The onActivate and onSelect (or onAnySelect) triggers will collide and results will be unpredictable. Rob, I am in agreement that more granular object level triggers are required though they are not appearing in V11 (your suggestions mirror the thoughts I have had on the subject). Also using these triggers on a server level document wont work."
I can't say I'm happy with this answer, but that's the answer to why they were removed. As to how to work around it, I'm really not sure. I'm not using these triggers, but I guess the first thing I'd look at if I were is the onSelect trigger for the object that was mentioned.
Thanks for the reply John.
I just downloaded QV11 to my desktop and was playing around. I don't see where the OnSelect trigger is available at the object level. (Probably because OnSelect would technically be the same as OnActivate for an object.) Being able to set an action when an object is activated is important to the functionality of my application.
1) When Auto Minimize is not the best option, and you only want a certain group of objects to be displayed at a given time.
2) Used with container objects. Particularly when I have alternate buttons that display, based on which object within the container is activated. These buttons are attached to a macro that exports the displayed chart and data within the container to Excel.
We typically wait at least 6 months before upgrading to the next version of QlikView. Hopefully, this issue will be resolved and they put this functionality back in! Until then, I see that QV10 SR4 came out today. We may be on this release a little longer than expected.
Thanks,
Dan
Like you, we typically wait a while before upgrading. One reason is exactly this sort of thing - lack of backwards compatibility causing significant recoding across a large number of applications. We can't afford to stay on the cutting edge when doing so means a couple weeks of work every time we upgrade.
I haven't even looked at QV11 yet, so I can't help with the mentioned OnSelect trigger for an object. Maybe it doesn't even exist - the only OnSelect I know about is for fields. Maybe the quote is referring to what happens when you select a value in a list box. You would simultaneously fire the OnSelect and OnActivate actions. And maybe these actually execute in parallel, causing unpredictable results. And maybe I'm missing something, but if that's the case, the obvious solution seems to be always executing one before the other, such as always firing the OnActivate before the OnSelect. Now the results are predictable. Easy. Fixed. Maybe it only seems easy to fix because I'm ignorant of the real issues, though.
And don't we still have this problem with the OnSelect and OnAnySelect triggers? Won't these "collide and results will be unpredictable"? Better remove those triggers too, then, right? *sigh* I really don't know what QlikTech is thinking.
As you say, hopefully they'll put the triggers back in. I just don't understand what makes these triggers so broken, so impossible to fix, that they decided it was better to force thousands of their customers to recode their applications.
Hello, John. Hello, Dan.
Today is october, 08/2014 ... And the disapear of events still cause problems.
There is no way to interact with the application when the user change a container tab. This is very, very annoying and became a limitation for developers.
Ok... But, does we need to forget that feature? There is a schedule to QlikTech give back this important resource to customize our apps?
Or, now, the version 11 have no issues with running macros? Can we call macros from TextBox actions without empty the buffer of app?
What is the News?
Thanks!