Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

qliksus
Valued Contributor

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
New Contributor II

Regarding open document from another document

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
Valued Contributor

Regarding open document from another document

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?????

Community Browser