jcr:mixin is not editable | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by lukasz-m

Hi @shaheena_sheikh,

What you can observe on your instance is correct behavior. To edit list of mixins from crx/de you have to use dedicated option from contextual menu, select Mixins... option

From code you can use addMixin and removeMixin methods from Node api:

 

node.addMixin("mix:lockable"); node.removeMixin("mix:lockable");

 

1 reply

lukasz-m
Community Advisor
lukasz-mCommunity AdvisorAccepted solution
Community Advisor
January 9, 2023

Hi @shaheena_sheikh,

What you can observe on your instance is correct behavior. To edit list of mixins from crx/de you have to use dedicated option from contextual menu, select Mixins... option

From code you can use addMixin and removeMixin methods from Node api:

 

node.addMixin("mix:lockable"); node.removeMixin("mix:lockable");