cancel
Showing results for 
Search instead for 
Did you mean: 

How do I remove a facet from an existing document.

fast_narcis_
Confirmed Champ
Confirmed Champ

I need to remove the HiddenInNavigation facet from the UserWorkspacesRoot document type. How do I do that?

I have tried with this:

<extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
  <doctype name="UserWorkspacesRoot" extends="Folder">
    <facet name="SuperSpace"/>
  </doctype>
</extension>
1 ACCEPTED ANSWER

Florent_Guillau
World-Class Innovator
World-Class Innovator

It's currently not possible to remove facets from types from a contribution, as we've never had the use case for it.

Why do you want to do that?

View answer in original post

3 REPLIES 3

Florent_Guillau
World-Class Innovator
World-Class Innovator

It's currently not possible to remove facets from types from a contribution, as we've never had the use case for it.

Why do you want to do that?

Just as it is stated in the question, I need to be able to see the UserWorkspaces in the Navigation tree.

Nuxeo does have now an automation operation Document.RemoveFacet