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

Getting started

Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.