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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Hidden script automation

hi,

with the folowing code i can add a row to the script using the api:

set docprop = ActiveDocument.GetProperties
docprop.Script = docprop.Script & "Load * from abc.csv;"
ActiveDocument.SetProperties docprop

but how can i edit the hidden script?

Labels (1)
4 Replies
kji
Employee
Employee

Accessing the hidden script through automation has been considered a security issue and is therefore not possible.

biester
Specialist
Specialist

Don't know whether I'm wrong, but what should that be good for? If you want to create a hidden script, you have to give it a password. Also when you want to edit it, and in my opinion it's roughly the sense of a hidden script that you only can access it if you know the password. Let's assume it would be possible to access it from API: you would supply the password in plain text in the module - so the hidden script would not be hidden any more. Even if you would NOT supply the password you would have to type it in when executing the macro - but that would be against the sense of an automated process ....

Perhaps I'm totally wrong, but that's my point of view,
Rgds,
Joachim

Not applicable
Author

i am coding a visual-basic-program.

this program generate a qv-file. the script of this qv-file should be set by the program.

prieper
Master II
Master II

Hi,

what about using a "binary load" of a file, which then has the hidden security included?

HTH
Peter