Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner - Master II
Partner - Master II

open document from command line

Hello

got a QVW with Section Access using UserID and Password

what is the syntax to open the file from command line?

c:\program files\Qlikview\qv.exe /r path_to_my_qvw_file

but I want to supply the userid and password automatically

Please advise

I can walk on water when it freezes
10 Replies
ali_hijazi
Partner - Master II
Partner - Master II
Author

I know this but the document has Section Access using userID and password

so when I open the document it will stuck at the prompt for userId input

I can walk on water when it freezes
Digvijay_Singh

Not sure but some discussion on this at the end -

Command line arguments in qlickview

marcus_sommer

You could use a vbs-batch for this like: Re: Vbs - passing parameters to opendoc or opendocex and if you changed OpenDoc to OpenDocEX you could specify with the parameters 5 + 6 the section access user and password, like in this example:

set App = ActiveDocument.GetApplication

App.OpenDocEx "C:\MyDocuments\Budget.qvw",2,false,"jnn","123456","",false

- Marcus

ali_hijazi
Partner - Master II
Partner - Master II
Author

that's fine but I'm opening the QVW file from a batch file

does this work?

Please advise

I can walk on water when it freezes
marcus_sommer

Such a vbs-file is a batch-file. But maybe you need a different approach in this way to extend the existing section access to your server- respectively batch-user so that these user didn't need to give section access credentials.

- Marcus

ali_hijazi
Partner - Master II
Partner - Master II
Author

so you mean I use NTNAME instead of UserId and Password

well that might be an option

I can walk on water when it freezes
marcus_sommer

Yes, that was meant.

- Marcus

vikasmahajan

you can run with /no security option so that it will not require any password.

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.