Any built-in document type can be overridden: you just have to use the good ID, inherit the good type and add some necessary schemas and facets. We provide a table that should give you all necessary information.
When inheriting from a document type, you inherit its schemas and facets. For instance, when inheriting from Document, you get the dublincore
schema (that holds the title, description, modification date, ... metadata), as well as common
(that holds the size of the doc) and "uid" (that holds version information and ID).
Be careful to select the Override deployment mode from the Advanced Configuration section on the Definition tab of your document type. Should you leave Merge, you would get both your customizations and the default behavior of the document type instead of only your own customizations.
Below are the document types provided by the default Nuxeo Platform, the Document Management and Digital Asset Management modules. Don't hesitate to give feedback if you encounter troubles.
Document type label | Document type ID | Inherits from | Necessary schemas | Necessary facets | Additional comments |
---|---|---|---|---|---|
Audio | Audio | Document | common, dublincore, uid | Audio, Commentable, Publishable, Versionable | |
Domain | Domain | Folder | domain | SuperSpace | |
File | File | Document | file, files, common, dublincore | Commentable, Downloadable, HasRelatedText, Publishable, Versionable | |
Folder | Folder | Document | Folderish | ||
Forum | Forum | Folder | |||
Note | Note | Document | common, dublincore, files, note, uid | Commentable, HasRelatedText, Publishable, Versionable | |
OrderedFolder | OrderedFolder | Folder | Orderable | ||
Picture | Picture | Document | common, dublincore, uid | Commentable, HasRelatedText, Picture, Publishable, Versionable | |
Post | Post | Document | common, dublincore, post | Commentable, HiddenInNavigation | |
Section | Section | Folder | file | PublishSpace, SuperSpace | The SuperSpace facet is required for children documents to get default notifications configured in the Alerts tab. |
SectionRoot | SectionRoot | Folder | MasterPublishSpace, SuperSpace | ||
TemplateRoot | TemplateRoot | Folder | SuperSpace | ||
Thread | Thread | Document | common, dublincore, thread | Commentable | |
Video | Video | Document | common, dublincore, uid, files | Commentable, Publishable, Versionable, Video, HasStoryboard, HasVideoPreview | |
Workspace | Workspace | Folder | webcontainer, publishing, file, files | SuperSpace | The SuperSpace facet is required for children documents to get default notifications configured in the 'Alerts' tab. |
WorkspaceRoot | WorkspaceRoot | Folder | SuperSpace |
Documents in Nuxeo Studio Content Repository Available Facets Life cycle