Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
raghavsurya
Partner - Specialist
Partner - Specialist

Macro with a button to reload the data

Hi,

We have a requirement wherein the user wants to update few templates provided to different departments within the organization and click on a button to get the data loaded onto qlikview application.

Can anybody share with me any macro to enable Reload into Qlikview.

Regards,

Raghav

14 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

    With normal API's its not possible as per my knowledge, but i think it might be achieved with the help of ServerSide API.

    Dont know much about ServerSide API. Will rearch on this and will get back to you.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Miguel_Angel_Baeyens

Raghav,

The following will only work when openin the document locally using Desktop. This will never work in a client - server environment, you should create an EDX triggered task if you have the Publisher license.

Sub ReloadDoc

     ActiveDocument.Reload

End Sub

Now you can call this sub in an action, for example.

Hope that helps.

Miguel Angel Baeyens

BI Consultant

Comex Grupo Ibérica

raghavsurya
Partner - Specialist
Partner - Specialist
Author

Thanks a lot Miguel.

raghavsurya
Partner - Specialist
Partner - Specialist
Author

thx Kaushik.... let me know if you are able to crack it .  Regards, Raghav

Not applicable

Hi Miguel,

How to create a EDX trigger action for reload the application in server machine.

Please list the steps to follow.

Thanks

Anonymous
Not applicable

Hi

Did you find any solution to this?

I have an edx that seems to run as it should.

But I also try to reload with a variable but I have not managed to get it to work.

Dan

spinchuk
Partner - Contributor III
Partner - Contributor III

Miguel, how would you modify this script to trigger reload of not active document, but any document on server drive?

For example i need to trigger reload of MyDoc.QVW located on C drive.

Sub ReloadDoc
     ActiveDocument.Reload
End Sub

Thank you!

Miguel_Angel_Baeyens

Hi Sergey,

That will only work opening the document with the Desktop client locally, not with the Plugin or Ajax client and never in a server environment, if that's what you mean. Check this document on how to create an EDX triggered task in QlikView.

Hope that helps.

Miguel

spinchuk
Partner - Contributor III
Partner - Contributor III

Problem is - I don't have publisher...

What i'm trying to do is to trigger a reload of QVW if it falied to reload. Basically try to reload it again. This all happens on server - no user involved.

Would you happen to have s suggestion?

Thank you.