Expand my Community achievements bar.

SOLVED

jcr:mixin is not editable

Avatar

Level 6

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?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

mixin.jpg

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

 

node.addMixin("mix:lockable");

node.removeMixin("mix:lockable");

 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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

mixin.jpg

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

 

node.addMixin("mix:lockable");

node.removeMixin("mix:lockable");