Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Sahal
Creator II
Creator II

Button macro to reload application from accesspoint.

Hi.

Im trying to create a button in a qlikview that allows you to reload the application from the accesspoint.

When i create a button and do a macro action and write this code.

Sub Reload
set App = ActiveDocument.GetApplication
set doc1 = App.OpenDoc ("your_document_name_here.qvw","","")

doc1.reload

doc1.save

'doc1.closedoc

End sub

 

the button workes fine and it reloads the document.

I have administrator writes to reload from the qemc and im in the local group called Qlikview administrator.

But when i distribute the application to the accesspoint and try to press the button i get this error message.

the explorer opens a new window and says:

Network Error (dns_unresolved_hostname)

Your requested host "your_document_name_here.qvw" could not be resolved by DNS.

For assistance, contact your network support team

Im not sure what im doing wrong the url i get is http://your_document_name_here.qvvw and it looks to be wrong.

Can anybody help me?

Br

Sahal

0 Replies