Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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
senpradip007
Specialist III
Specialist III

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

Peter_Cammaert
Partner - Champion III
Partner - Champion III

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?

senpradip007
Specialist III
Specialist III

Could you upload sample qvw?

Anonymous
Not applicable
Author

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

Anonymous
Not applicable
Author

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

Anonymous
Not applicable
Author

then what can I use instead?

Anonymous
Not applicable
Author

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.

simsondevadoss
Partner - Creator III
Partner - Creator III

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

Anonymous
Not applicable
Author

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?