Defining Metadata Sets

With Documents and Media, you can define reusable groups of metadata fields that can be added to custom Document Types. Once created, these Metadata Sets can be selected while creating or editing a Document Type and are added after any fields defined directly in the Document Type form.

To define a new Metadata Set,

  1. Navigate to the Documents and Media application in a site or asset library.

    To access Documents and Media in a site, open the Site Menu (Site Menu) and go to Content & DataDocuments and Media.

    Click on Documents and Media under Content & Data in the Site Menu.

    To access Documents and Media in an asset library, navigate to any library where it’s enabled and click on Documents and Media.

    Click on Documents and Media in the Asset Library.

  2. Open the Metadata Sets tab.

  3. Click New to access the New Metadata Sets form.

  4. Enter a name for the Metadata Set.

  5. In the Builder tab, drag and drop the desired fields into the designated drop zone.

    Each field is highly configurable, with Basic and Advanced options. If desired, you can create field groups by dragging and dropping fields on top of one another. These groups can also be configured.

    Add fields from the Builder tab and configure them.

  6. (Optional) Click on the Properties tab, and enter a description.

  7. Click on Save.

The following fields are available in the Builder tab on the right:

FieldDescription
TextEnter a single line/multiple lines of text.
Select from listSelect an option from a drop-down list.
Single SelectionSelect an option from a list using radio buttons.
Multiple SelectionSelect one or multiple options using checkboxes.
GridSelect options from a matrix.
DateEnter a date.
NumericEnter a number. You can set the numeric type as integer or decimal.
BooleanCheck the check box.
ImageSend an image file.
Rich TextUse a WYSIWYG editor to create rich text content.
UploadSend documents and media files.
ColorSpecify a color.
Web ContentSelect a Web Content article.
GeolocationSpecify a location to associate with the document.
Link to PageLink to another page in the same site.
SeparatorAdd a separator to organize the content.
Note

Starting in Liferay 7.4, the Rich Text field in metadata sets uses CKEditor as the only WYSIWYG editor.

Once saved, the new Metadata Set can be accessed and selected when creating or editing Document Types. See Defining Document Types or more information.

Editing Metadata Sets

You can edit your fields to reflect their intended metadata. For example, a text field’s default label is Text. If you want to use the text field as a title, for instance, then you should change the field’s label to Title. Besides the Label field, you can also configure the default values, variable names, mouse-over tips, widths, and other settings. Some fields have a Required setting for specifying whether users must populate the field. If a field’s Repeatable setting is Yes, users can add multiple consecutive instances of the field to the document’s metadata.

  1. Click on the field on the editor. This automatically opens the Builder tab on the right.

  2. Edit the fields and enter new values.

    Edit a field's values to reflect their intended metadata.

  3. Click Save when finished.

Capabilities

Product

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy