|
When you define new document types, you can customize the tabs that are presented. On documents like notes or file, you can disable the tabs inherited from the extended Nuxeo document type. On folderish document types, such as customized folders or workspaces, you can disable tabs displayed by default, but you can also change the content view that is used to present the content of your document type. For instance, on Nuxeo DM, the Content tab lists all the documents that are the direct children of the current folder, that are not deleted (those are available in the Trash tab) and are not hidden in navigation. You can change this to display, let's say, the direct children of the current folder that are not deleted and not hidden in navigation and were created only by you. |
Disabling tabs on your document type
This can be done on any document type, folderish or not.
- On your document type, click on the Tabs tab.
- Check the tabs that you don't want to be displayed for your document (ex: Comment, History, Preview,...).
- Click Save so your changes are kept.
Customizing the Content and Trash tabs
The content displayed in the Content tab of a folder, for instance, is the result of a query that says that we want to display all the documents that:
- are the direct children of the current folder,
- are not "deleted",
- are not hidden in navigation.
You can create new views that will display the results of a query you have customized. This is done using Content views. And then, you can choose to use your content view in the Content or Trash tab of your document types.
- Create a new Content View.
- On the document type definition, click on the Tabs tab.
- Select the content view you want to use for:
- the "Main content", ie the Content tab of your document type,
- the "Trash content", ie the Trash tab of your document type.
- Click Save.
Adding a new content view (documents listing) tab to a document type
Using Content views, you can also add new tabs on the documents. This is useful in many cases, such as when you want to display content on different tabs depending on the state of the documents. Or when you want to implement some specific business views.
- In the Tabs tab of your document type, click on Content views.
- Click on Additional tabs configuration and fill in the new tab configuration form:
- Label: type the label of your new tab.
- Content Views: Select the content view that should be used.
- Order: type the order of the tab.
- Tab enablement: Select the conditions that need to be met for the tab to be displayed.
- Click Save.
|