Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
Modernize Your QlikView Deployment webinar, Nov. 3rd. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor III
Contributor III

Features not working on web

I have a variable

LET vTimer = if(Second(now()) < 30, 0, 1);

And i have two TABs. The first one has a condition to be shown: vtimer = 0 and the Second TAB will be shown when vTimer = 1. It works perfectly. My problem is that when i put on web the actualization doesn't work. It stays in the same TAB forever. Just when i do any click, the TAB shown changes according by the vTimer value.

I had problems before in something similar about the document triggers. It worked on .qvw file, but on browser didnt work.

Someone can help me?

Thanks

10 Replies
Highlighted
Specialist III
Specialist III

Try like =Second(now()) < 30 or Second(now()) >= 30

Highlighted

A script variable like in your example only changes when a reload is executed. Do you mean that when opening the document in the AP, the wrong tab is shown, whatever the (static) value of vTimer?

Highlighted
Specialist III
Specialist III

Could you upload sample qvw?

Highlighted
Contributor III
Contributor III

Hi Pradip Sen,

The problem is not the expression. As i said it's working on QVW file but in AP it's static and the TAB doesn't change

Highlighted

The Now() function does not work properly in WebView or the Ajax client.

Highlighted
Contributor III
Contributor III

then what can I use instead?

Highlighted

Personally I would not have a dashboard that auto flips between tabs.

If you really want to do it then use the IE plugin client.

Highlighted
Partner
Partner

now function wont work in Ajax. Instead you can go for some extensions

Highlighted
Contributor III
Contributor III

Hi Bill,

I'm trying to use the IE Client. Just installed but when i try to access it show message: Fail to open. You dont have access to document.

Below is the configuration screen on QMC:AP.jpg

So based on the Path i use the url: http://MY_URL_EXAMPLE/QvPlugin/opendoc.htm?document=MY_FILE_EXAMPLE.qvw

But it doesn't ask authentication and give me the error message i wrote before.

It works on Ajax if i use url: http://MY_URL_EXAMPLE/QvAJAXZfc/opendoc.htm?document=MY_FILE_EXAMPLE.qvw

Any help?