Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
QlikWorld 2020: Join us May 11 - 14, 2020 in Phoenix, AZ. Register early and save $400. Learn More
Partner
Partner

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
Chanty4u
Esteemed Contributor III

Re: open document from command line

Partner
Partner

Re: open document from command line

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
Honored Contributor III

Re: open document from command line

Not sure but some discussion on this at the end -

Command line arguments in qlickview

MVP & Luminary
MVP & Luminary

Re: open document from command line

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

Partner
Partner

Re: open document from command line

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
MVP & Luminary
MVP & Luminary

Re: open document from command line

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

Partner
Partner

Re: open document from command line

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
MVP & Luminary
MVP & Luminary

Re: open document from command line

Yes, that was meant.

- Marcus

vikasmahajan
Esteemed Contributor

Re: open document from command line

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

Vikas