Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Reload Qlikview file through button click

hi everyone,

i have big doubt, how can i Relod the Qlikview file through button click.

If yes, can you provide the steps how it can be done.

Advance thanks to all your posts

Thnks

10 Replies
Not applicable
Author

Hi Venkat,

You want to reload it through Batch file(.Bat) or from QVW Script.

Make it clear.

Not applicable
Author

if you want to reload using a button, use a macro:

here's the code:

Sub Reload

ActiveDocument.reload

End Sub



Not applicable
Author

Hi Venkat,

I assume you want to reload the active Qlikview application using button. if so you could use below code.

Sub Reload
ActiveDocument.Reload
ActiveDocument.Save
End Sub

Look at the attached application.

- SridharYes

erichshiino
Partner - Master
Partner - Master

I'd say the macros above wil work for your case.

The only problem I had before with this is that I didn't get any error messages.

When there was something wrong during reload, the application just froze.

vvvvvvizard
Partner - Specialist
Partner - Specialist

Press ctr+m

add this code

Sub Reload

ActiveDocument.reload

End Sub

now exit

Create a Button

Actions Tab click add

Action type select external

pick Run macro

click ok

for macro name add the text "Reload"

Not applicable
Author

Hi,

if you are looking for this from QV server, then you'll need to look at using EDX triggers

Using EDX in QlikView 11

hope that helps

Joe

miguelbraga
Partner - Specialist III
Partner - Specialist III

Hi Venkat,

Just do the following:

  • right click>New Sheet Object>Button;
  • In General>Text write "Reload";
  • In Actions>Click "Add">Add Action>
    • on Action Type, Select "External" from the list box
    • on Action, Select "Reload"
  • Press Ok twice to test the new button

No need of codes, very simple. Hope it helped.

Miguel

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Hey guys, I think that after 4 years of searching, Venkat may have found a solution already. This is an old discussion.

Not applicable
Author

you can also perform an External /reload action

Actioy Type - External

Action - Reload