Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
marcel_olmo
Partner Ambassador
Partner Ambassador

How to force a document to save it automatically in "User Mode" ??

Hey guys!! I'm trying to do the following :

I have a document that only has to be modifield by admin users. But I also need the document to be saved from all kind of users (admin or user).

What I'm trying to do is forcing an autosave the ddocument in the "onpostreload" event.

If I'm admin user it works fine, but if I'm an user with "user privileges" I cannot do it.

The point is : The document it only can be saved after a reload. It doesn't matter if  you are and admin or user.

Is that possible?

Many thanks in advance!!

2 Replies
Not applicable

Hi,

have you tried with a macro? But maybe it works with user privileges..

Also in document settings, under security ->"Macro Overrides Security"

Stefano

marcel_olmo
Partner Ambassador
Partner Ambassador
Author

In fact yes. I have a macro which does an autosave --> activedocument.save.

And I overwrited all the security.

And I've tried to use the saveapp macro function, but is only read-mode, which means, it only can be checked if you can save a document or not. You cannot modified that check. I can't wonder why they only do read-only functions with this stuff. But this is how it is.

Regards, Marcel.