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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Suppress the module security dialog

Hello,

I'm using a .vbs file to launch a Qlikview file, with the following code:

Set Qv = CreateObject("QlikTech.QlikView")

Set docObj = Qv.OpenDoc(qvPath, "", "")

It works fine, unless there's a macro in the document, which will prompt me for the desired security level. Making a choice will prevent the dialog from appearing until the next time I edit the macro.

I know that starting Qlikview from command line, there's a flag called /NoSecurity, which will prevent this behavior

Is there any way I can get the same thing and still retrieve the docObj object as above?

2 Replies
Not applicable
Author

Hi!

I´m looking for similar information and have just found this: http://www.qlikblog.at/523/ . Think it might help you.

Gabriela

Not applicable
Author

I came across that blog too, haven't tested his approach, but I just hoped there was some way to avoid editing the registry. But maybe I have to adjust my script so that it disables the box when launching the QV file, and changes the registry back to normal right after launch.