Defining Document Types for Liferay 7.3 and Earlier Versions

In Liferay, Document Types are templates used for uploading files and categorizing them in Documents and Media. These templates are created using metadata fields and provide additional, searchable information for uploaded files.

To define document types for Liferay 7.3 and earlier versions,

  1. Open the Product Menu (Product Menu) then click the compass icon (Compass) on the Site Administration menu.

  2. Select the site where the form is created.

  3. Click Content & DataDocuments and Media.

  4. Click the Document Types tab.

  5. Click the Add button (Add). The New Document Type form appears.

  6. Enter a name and a description.

  7. Expand the Main Metadata Fields section.

  8. Drag and drop the metadata fields into the editor.

    Drag and drop main metadata fields

  9. Expand the Additional Metadata Fields.

  10. Select a metadata set to associate with the document type. To learn more, see Defining Metadata Sets.

    Associate additional metadata sets.

  11. Click Save.

The new Document Type is now available when adding a document via the Documents and Media’s Add menu.

When users create new files of the document type, they’re presented with metadata fields to describe the document.

The new Document Type is now available. Use it to create a new Picture Document