Dear Developers/ Architects,
at present im using aemsdk 2023-12 version. In Previous AEM sdk version, I was able to remove jcr:mixinTypes mix:lockable property on page through service user which have access to remove permission on /content.
Recent version of aem sdk version, the jcr:mixinTypes property were disabled, even admin account was not able to remove this property. any suggestion on this?? is there any option to remove lockable property through service user?
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @raja-thannasi,
jcr:mixinTypes is protected property. If you want to modify it you have to use dedicated method from Node class:
node.removeMixin("mix:lockable");
In terms of mix:lockable mixin, you can also use LockManager api to control this specific one.
If you want to manage mixins from crx, you should use dedicated Mixins... option from context menu
Hi @raja-thannasi
Setting jcr:mixinTypes null can help.
node.setProperty('jcr:mixinTypes', null)
Hi @raja-thannasi,
jcr:mixinTypes is protected property. If you want to modify it you have to use dedicated method from Node class:
node.removeMixin("mix:lockable");
In terms of mix:lockable mixin, you can also use LockManager api to control this specific one.
If you want to manage mixins from crx, you should use dedicated Mixins... option from context menu
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies