Every time you create or edit a document, the forms displayed are designed using what we call layouts. A layout is the definition of what fields should be displayed on the page and how they should be organized. There are the default layouts available:
- the creation layout: the form used to fill in information when you create a new document;
- the edit layout: the form used to fill in information when you update the document;
- the View layout: the information displayed on the Summary tab of the document in Nuxeo;
- the Header layout: the information displayed on top of tabs of the document view in Nuxeo;
- the Summary layout is the view of the document that displays the properties of the document and additional information such as the latest comments on the document or its relations. It uses the View layout to display the metadata of the document. Note that this layout configuration will soon be replaced by the Tabs feature for projects running on Nuxeo 5.6 or higher.
You can define as many layouts as you need in addition to those mentioned aboveNuxeo Studio provides you with a friendly user interface to define all of these.
Just like you can customize the forms and presentation of documents, you can also adapt the lists of documents to display information relevant to the users of your application. Lists of documents are done using content views. Basically, content views are what is used in the “Content” tab of your folderish documents (workspaces, folders, etc) and everywhere that lists of documents are displayed.
A content view is composed of two parts:
- A filter that restricts the content displayed to the current space or a specific document type, depending on your need. Without this filter, the whole content of your document repository would be displayed in your “Content” tab. We provide a default filter that excludes documents that are hidden in navigation and that are deleted from the list of documents.
- The results presentation, i.e. the configuration of the table in which the documents are listed, on which you can define all the columns available
Content views are used to control the way you present information either in new tabs within documents view or after new search forms and can easily be defined with Nuxeo Studio.