Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
Try like =Second(now()) < 30 or Second(now()) >= 30
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?
Could you upload sample qvw?
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
The Now() function does not work properly in WebView or the Ajax client.
then what can I use instead?
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.
now function wont work in Ajax. Instead you can go for some extensions
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:
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?