Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi guys.
Let's suppose I'm surfing a QV Document using IEPlugin. After a while, my document gets reloaded because it's time for its automatic reload task. After reload is completed, my document is automatically updated and I can see new data, as expected.
After a few days of working with my document, there is something driving me crazy, because it seems like there are two kind of behaviors: 1) some days, my document gets frozen for a moment after reloading and data is automatically updated (some sort of "transparent" update), and 2) some other days my document closes and reopens itself after that reload.
When it closes an reopen, onOpen trigger gets fired. When it just updates data with no close-reopen, onOpen trigger doesn't get fired. And here comes my problem: I need to perform some onOpen actions.
Is there any way to control this? Can I force the document to always get closed and reopened instead of being just updated?
Thanks in advance.
Hi!
Maybe you can use "On Post Reload" trigger instead of / in addition to "On Open"
Regards,
Jaime.
Hi!
I've been running a few tests, and I think onPostReload trigger only fires for the user who reloads the document, I mean, only if I'm reloading in QlikView Desktop. If the document is reloaded on a QMC task, that trigger is not fired. Should it be? Am I doing something wrong?
Thanks for your answer!
Ooops! You are right, "on post reload" does not work in Server.
As far as I know (not much because I have not faced this issue myself yet), people solved similar problems reloading files with QlikView Desktop and a batch file. Quite an ugly solution, in my opinion (and, in adition, you need to "waste" a CAL)
I don't know how to help you more, sorry. Hope someone will!
Regards,
Jaime.
What controls this behavior is the Settings\Document Properties\Server tab\Refresh Mode when Document is Updated on Server and Client Refresh Initiation Mode settings, here is the Help for it:
If in the QVS resource Document tab settings you have the Allow only one copy in memory setting checked, then changing the Server refresh dropdown to the first option should achieve what you are wanting I believe.
Regards,
Brett