Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Make a button to reload

HI,

How to do a button to reload the dataset ?

instead of using the button of qlikview I want to allow to user to do this via a specified button..

In action of a button I haven't RELOADING or smth like that...

4 Replies
Not applicable
Author

Hi,

You can make a button with an action that starts a macro.

This macro has a name like 'reload'.

In the macro you have to add the following code

sub Reload

set varCurrentQvw = ActiveDocument

varCurrentQvw.Reload

end sub



This is it!

Kind regards,

Martijn

erichshiino
Partner - Master
Partner - Master

The macro is right! but I don't think it is going to work on a client-server environment. Only if the user opens the file directly (QV Developer)

Miguel_Angel_Baeyens

Hello,

Yes, this is right. The reload macro is fine and it will work when the user opens the document as developer. It will not work (by design, it's not a bug) when opening with client (either AJAX, Plugin or Desktop "Open in server").

In addition to this, you can add some system administrators to the local group "QlikView Administrators" in the computer where the server is running so they are able to get to the Console and click on the "Play" button to reload the document if required.

Regards.

rbecher
MVP
MVP

Hi,

you could place a button to call an external program (e.g. Java) which makes a QlikView Server/Publisher Management API call (WSDL).

- Ralf

Astrato.io Head of R&D