jcr:mixin is not editable | Community
Skip to main content
New Participant
January 9, 2023
Solved

jcr:mixin is not editable

  • January 9, 2023
  • 1 reply
  • 839 views

I need to update the value of jcr:mixin but it is showing as not read-only in my local. How can i resolve this?

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
lukasz-mAccepted solution
New Participant
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");