Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Highlighted
Not applicable

WaitforIdle is not working in the access point

Hi all,

I have created a qlikview application in which I have a button which launch a macro. When the button is pressed, a text box appear to tell the user to wait until the terminaison of the action performed by the macro. The text box is shown only when a variable takes a given value. At the beginning of the macro, I give one value to that variable (The text box is shown) and at the end I give another value (The text box is hidden). In my qlikview desktop it only works when after giving a value to the variable, I use the instruction "ActiveDocument.GetApplication.WaitForIdle". But it seems that the instruction "ActiveDocument.GetApplication.WaitForIdle" does not work on the access point. I would like to know if there is another instruction which do the same thing as "WaitForIdle" and which can work on the access point. And if there is not such instruction, is there another way to achieve the same behaviour in the access point?

7 Replies
sagarkharpude
Contributor III

Re: WaitforIdle is not working in the access point

hi

Can you tell me the mode of the browser i.e  Ajax or IE?

Not applicable

Re: WaitforIdle is not working in the access point

I don't understand the question but if it can help the browser which I use to access the report is Internet Explorer.

balkumarchandel
Valued Contributor II

Re: WaitforIdle is not working in the access point

use IE Plugins

in access point below the application name you will see a link 'View Dtails' in green color click on that you will see 'Internet Explorer Plugin'

select that .. and try to run your macro again.

Not applicable

Re: WaitforIdle is not working in the access point

It works but the macro is not working anymore. The macro is supposed to launch a program on the server but it seems that when I am using the Internet Explorer Plugin, the program the macro try to launch the program on the local machine instead.

Partner
Partner

Re: WaitforIdle is not working in the access point

Yes, Plugin works locally and WebView is serverside.

Any link used in Plugin will reference your local machine, a link in WebView reference the QVS machine.

balkumarchandel
Valued Contributor II

Re: WaitforIdle is not working in the access point

Have you deployed the program(which you want to launch) in server as well . Check the path which you provided to macro. It should point server program.

Not applicable

Re: WaitforIdle is not working in the access point

I want my macro to reference the QVS machine. It actually works well but the only problem is that the user do not have a feedback on what is happening and this is why I wanted to use a text box to tell him that an action is being performed and that he should wait.