Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to transfer userid and password to qvw in command line when reload

Hi

I want to use command line to reload qvw files.

like: qv.exe /r abc.qvw

But my qvw has userid and password, How can I transfer userid and password to qvw in command line inorder to avoid manul input this information when relad.?

I reand read reference manual and try to add witch /nosecurity , but it don't work.

Could I ?

Thanks"::)

1 Solution

Accepted Solutions
erichshiino
Partner - Master
Partner - Master

The names must be upper case.

The app attached must open without password on your pc.

If it ask you something use ADMIN password: ADMIN

if it ask you the password, check the users on text boxes inside.

Hope it works nowSmile

View solution in original post

8 Replies
erichshiino
Partner - Master
Partner - Master

I really don't know if you can do it but can't you include NTUser on section access to allow the user running the task to open it without further inputs?

Not applicable
Author

Hi Erich

I want to reload it in server side without input userid and password manually.

But userid and password can be set in command line ...

erichshiino
Partner - Master
Partner - Master

You will probably use windows schedule, won't you?

So, there will be some 'user', even a system user' running this schedule. You can include it on the section access using NTName. Thus, QV Desktop will not ask user and password. It will just open.

Not applicable
Author


Erich Shiino wrote:
You will probably use windows schedule, won't you?
So, there will be some 'user', even a system user' running this schedule. You can include it on the section access using NTName. Thus, QV Desktop will not ask user and password. It will just open.
<div></div>


As the reference manul says:

In the logon procedure, QlikView will first check SERIAL, NTNAME, NTDOMAINSID
and NTSID to see if this information is enough to grant the user access to the
document. If so, QlikView will open the document without prompting for User ID
and Password.

I think it can solve my problem. but I add a field named NTNAME. It don't work.

my access table is :

ACCESSNTNAMEUSERIDPASSWORD
Admin?ADMINadmin
User?DEMO1eco2010ta
User?DEMO2eco2010ta
User?DEMO3eco2010ta
User?DEMO4eco2010ta
AdminFrank-pc\Franktesttest


My client os username is Frank-pc\Frank, I think I can open the document without input userid and pwd.But I still get a prompt to require user input.

erichshiino
Partner - Master
Partner - Master

On the last line you shouldn't use userid nor password.

Try blanks or *

AdminFrank-pc\Frank


Not applicable
Author

I try

ACCESSNTNAMEUSERID
Admin?ADMIN
User?DEMO1
User?DEMO2
User?DEMO3
User?DEMO4
AdminFrank-pc\Frank*


or

ACCESSNTNAMEUSERID
Admin?ADMIN
User?DEMO1
User?DEMO2
User?DEMO3
User?DEMO4
AdminFrank-pc\Frank?


cant work... Erich, could you pls give me a example? Big Smile

erichshiino
Partner - Master
Partner - Master

The names must be upper case.

The app attached must open without password on your pc.

If it ask you something use ADMIN password: ADMIN

if it ask you the password, check the users on text boxes inside.

Hope it works nowSmile

Not applicable
Author

hi

It is ok,by the table:

ACCESSNTNAMEUSERID
Admin*ADMIN
User*DEMO1
User*DEMO2
User*DEMO3
User*DEMO4
AdminFrank-pc\Frank*


Thank you.

And I have another question about transfer userid and pwd in url. Could you pls help me about that question:)