Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to know if QlikView is idle or not?

I work on a .Net application embedding the QlikView plugin. I needed a way to get the size of the active sheet, and I managed to get it by looping through each sheet object and getting their positions and sizes.

It works fine when QlikView is idle (i.e. no object needs to be updated), however it is very slow when the active sheet has just changed. It is a normal behavior because QlikView updates each sheet object after that, thus I cannot get objects' rectangles before the end of the update. To avoid blocking the application, I want to calculate the sheet size only if QlikView is idle. I thought I could know if QlikView is idle or not by calling WaitForIdle with a very small timeout parameter (according to the API guide: "True returned if idle state was reached (no timeout)"). However, this method seems to always return true, no matter if the idle state was reached or not (I tested both locally and with a document hosted on a server). Is it the normal behavior and the documentation was not updated? Am I doing something wrong? Is there another way to know if QlikView is idle?

0 Replies