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

Announcements
Save an extra $150 Dec 1–7 with code CYBERWEEK - stackable with early bird savings: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Automate reload QVW password

I have the follwoing script to reload QVW

"C:\Program Files\QlikView\qv.exe" /r C:\ProgramData\QlikTech\Documents\Vente- Test.qvw

EXIT

I have added to the QVW file a section access .

Now I got the following interface

How could I save the pasword in the batch file ?

CMD.png

1 Solution

Accepted Solutions
Peter_Cammaert
Partner - Champion III
Partner - Champion III

If you added Section Access to this QVW, you should know that besides USERID/PASSWORD authentication SA also allows you to use Windows AD user accounts to grant access to this document. SingleSign-On propagates the current AD credentials to SectionAccess, so if the reload is happening as a Windows ADMIN user that is listed in the SA table, you will not be asked a password.

Note that you can mix NTNAME section access with USERID/PASSWORD section access in the same SA table.

View solution in original post

4 Replies
swuehl
MVP
MVP

I believe the recommended solution should be either to use an appropriate NTNAME user account or the SERIAL number of the installation you are running the batch, i.e. adding these to the section access table.

Anonymous
Not applicable
Author

I didn't undestand .Could you explain me more ?

Peter_Cammaert
Partner - Champion III
Partner - Champion III

If you added Section Access to this QVW, you should know that besides USERID/PASSWORD authentication SA also allows you to use Windows AD user accounts to grant access to this document. SingleSign-On propagates the current AD credentials to SectionAccess, so if the reload is happening as a Windows ADMIN user that is listed in the SA table, you will not be asked a password.

Note that you can mix NTNAME section access with USERID/PASSWORD section access in the same SA table.