Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
qliksus
Specialist II
Specialist II

Regarding open document from another document

Hi,

I have 2 qvw file i.e A.qvw , B.qvw. But i want to create a button in A.qvw and when i click on that button it should open the B.qvw in server webpages. But i am able to open the file through qlikview developemet but not in server webpage. Can you tell how to do that??????

2 Replies
achiever_ajay
Contributor III
Contributor III

hi ,

you can use a simple macro in Button.

sub Calling_anotherQV
set qv = CreateObject("QlikTech.QlikView") '
set qvDoc = qv.OpenDoc("C:\Qv_target.qvw") ' --- address with exact location
' set qvDoc = qv.OpenDoc("Qv_target.qvw") '------- if in same folder

' qvDoc.save ' ----- to save it
'qvDoc.CloseDoc ' - to close it
' qv.Quit ' - to quit the application

end sub

qliksus
Specialist II
Specialist II
Author

Hi,

Thanks for reply. We are hosting the file in server and acces the file by using localhost webpages. Will the macro work in webpages also?????