Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Is it possible to modify by Macro "allow export" (document properties - user permissions)

Hello all,

I would like to know if it's possible to modify "allow export" (document properties - user permissions) ?

it's possible to read the setting:

temp=ActiveDocument.GetProperties.UserPermissions.AllowExport
if temp then msgbox("Export allowed")

but this attribute is read-only !

Do I have an another way to update this document property ?

thanks in advance

Frédéric

6 Replies
kji
Employee
Employee

As a general rule, all "permission" properties will be read only in automation, you can however set the "macro override security" on the document if you like to perform an export in a macro but in general no allow it.

Anonymous
Not applicable
Author

thanks for your answer Johan but if I understand I can just develop a new macro in order to export the data. I can't re-activate the user command (export PDF...).

SunilChauhan
Champion II
Champion II

hi,

did you get any solution for your macro.

if any then share me.

tom

Sunil Chauhan
Anonymous
Not applicable
Author

hi,

no.

If you have one don't hesitate to let me know.

regards

frédéric

Not applicable
Author

hi,

did you get any solution for your macro?

Thanks,

Ivan

jafari_ervin
Creator III
Creator III

there is not any answer?