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: 
shane_spencer
Specialist
Specialist

Macro to disable/enable reloads

Is it possible to create a macro (or indeed another option) to disable / enable reloads?

i.e. something that effectively does the same as going to Document Settings and deselecting/selecting the Reload option under security. Thus allowing me to prevent the user performing Reloads until certain criteria have been met.

reload.PNG

2 Replies
zhadrakas
Specialist II
Specialist II

i found this in api guide.

But that is only for User Properties and it is read-only i think.

temp=ActiveDocument.GetProperties.UserPermissions

temp.Reload = true 'False
msgbox(temp.Reload)

seems like you are not able to do this via macro.

shane_spencer
Specialist
Specialist
Author

Thanks Tim. I suspected as much.