Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
The #1 reason QlikView customers adopt Qlik Sense is a desire for a modern BI experience. Read More
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Not applicable

Now() doesn't auto refresh in Ajax/Full Browser mode

If you set a variable to equal Now(), then in IE Plugin mode, it polls and updates every second. This means you can then start to do cool stuff like automatically switching between sheets at set time intervals - great for a rotating dashboard.

However, in Ajax mode, it only seems to poll every time you actually click within the window. So I can't get the rotating dashboard effect in Ajax mode.

Of course, I wouldn't be asking this if I didn't want to use Ajax mode. But my dashboard contains custom Qlikview extensions, which don't work in IE Plugin mode, and therefore need to be run in the Ajax/Full Browser version.

My question is: is this a bug in Ajax, or is there a way to get Ajax to poll the operating system to update a variable without forcing the user to intervene?

Thanks

James

1 Solution

Accepted Solutions
Highlighted
Not applicable

Re: Now() doesn't auto refresh in Ajax/Full Browser mode

Hello

Qlikview support very kindly sent me the attached document, which describes in detail how to fix the problem that now() doesn't auto-refresh in Ajax.

I hope this is useful to others who have experienced the same issue.

James

View solution in original post

14 Replies
Highlighted
Not applicable

Re: Now() doesn't auto refresh in Ajax/Full Browser mode

Hello

Qlikview support very kindly sent me the attached document, which describes in detail how to fix the problem that now() doesn't auto-refresh in Ajax.

I hope this is useful to others who have experienced the same issue.

James

View solution in original post

Highlighted
Employee
Employee

Re: Now() doesn't auto refresh in Ajax/Full Browser mode

Alternatively you can also use this document extension: QlikView AutoRefresh Document Extension

Regards

Stefan

Highlighted
Not applicable

Re: Now() doesn't auto refresh in Ajax/Full Browser mode

Hi,

I'm trying to install the extension and file QAR accuses be invalid in QlikView 11 SR5 ...

Highlighted
Employee
Employee

Re: Now() doesn't auto refresh in Ajax/Full Browser mode

Hi,

do you mean QlikView 11 SR5 or Qlikview 11.2 SR5 (in the latter version I have just tried it and it runs without any problems).

Could you post a screenshot of what you are seeing? Never seen a similar message ...

Regards

Stefan

Highlighted
Not applicable

Re: Now() doesn't auto refresh in Ajax/Full Browser mode

11.20 SR5... the extension works, but if i have a direct discovery field in a gauge chart, for example, with the variable DirectCacheSeconds = 10; doesn't work...

Regards.

Highlighted
Master
Master

Re: Now() doesn't auto refresh in Ajax/Full Browser mode

Hi, Any news about this?

I need to auto refresh a document inside the desktop, I have DirectCaheSeconds=5 and it works fine if a hit a field or do something inside my object. But I need it to be automatic. 11.20 SR5 is my version

Highlighted
Partner
Partner

Re: Now() doesn't auto refresh in Ajax/Full Browser mode

Hi,

Did you find a solution for this? I have the same problem...

Regards!

Highlighted
Not applicable

Re: Re: Now() doesn't auto refresh in Ajax/Full Browser mode

Stefan do you know if there is a way to modify your script in order to use the time intervals with the show/hide condition on a sheet? I am already using it to refresh monitor dashboards and works excellent!

Highlighted
Employee
Employee

Re: Re: Now() doesn't auto refresh in Ajax/Full Browser mode

Hi, could you please elaborate a little but, I do not fully understand what you are trying to achieve.

Regards

Stefan