cancel
Showing results for 
Search instead for 
Did you mean: 

How to get default views on custom document types

franck102_
Champ in-the-making
Champ in-the-making

I am trying to get default views on custom document types that extend Folder or support the dublincore schema, but I can't figure out what exactly to contribute to org.nuxeo.ecm.platform.types.TypeService. Here are the types:

<doctype name="myContainer" extends="Folder">
    <facet name="myFacet"/>
</doctype>

<doctype name="myItem">
    <schema name="common"/>
    <schema name="dublincore"/>
    <schema name="myItemSchema"/>
</doctype>

The best I have obtained is an empty listing for myContainer. What would it take (not using Studio) for the myContainer page under http://server/nuxeo/nxpath to display like a normal folder page (with items listed and a "New" command to create subfolders)?

Thanks!

4 REPLIES 4

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator

I suggest to read this documentation, especially the UI part and layout part (section Containment rules).

I have read that document and the relevant help sections, many times...

Can you try to just add Folderish facet to your container type ?

I just tried that, and it doesn't make any difference.

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.