Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
baarathi
Creator III
Creator III

Disable Duplicate sheet and edit option on published apps

How to disable edit option and duplicate sheet option on published apps ?

4 Replies
dsharmaqv
Creator III
Creator III

Go to sheet properties > security and check/uncheck as per your need

MK9885
Master II
Master II

You may need to disable the default security rule for createobjects in QMC

2018-10-29_080731.png

One in grey above needs to be disabled and then create your own custom rule exactly same w/o allowing them to create sheets.

!resource.App.stream.Empty() and resource.App.HasPrivilege("read") and (resource.objectType = "userstate" or resource.objectType = "story" or resource.objectType = "bookmark" or resource.objectType = "snapshot" or resource.objectType = "embeddedsnapshot" or resource.objectType = "hiddenbookmark") and !user.IsAnonymous()

Try the above security rule and see if it works?

The rule says if a user has a read access then he/she can create bookmarks, snapshots, embedsnapshots into user stories

baarathi
Creator III
Creator III
Author

Hey Shahbaz shahbazkhan

                                                  Is there any other way to achieve this without disabling createobjects security rule.

Thanks

Baarathi

MK9885
Master II
Master II

I don't think so....

even though you are disabling the default rule, you'll be creating copy of that rule with a slight modification to remove sheetobject from resource object.

Or not sure if it will work..

Try disabling the Create option when you create 'Stream' rule.