Documentation

Configuring Asset Auto Tagging

Tagging assets is a great way to organize content. Typically, the content creator applies tags while creating the content. You can also tag content automatically. For example, you can scan an image on upload and apply tags that describe the image’s content. This lets you leverage tags without requiring content creators to apply them manually.

Note

Auto-tagging currently works only for images, text-based documents, text-based web content, and blog entries.

Configuring auto-tagging for specific asset types is documented separately:

Auto-tagging is enabled by default. You can configure it at three levels:

  • Global (System): For auto-tagging to function on any level, it must be enabled globally. You can also set the default auto-tagging configuration for every Virtual Instance.

  • Virtual Instance: When enabled globally, auto-tagging is also enabled by default for each Virtual Instance. However, you can override the global auto-tagging configuration on a per-Instance basis.

  • Site: When enabled for a Virtual Instance, auto-tagging is also enabled by default for all that Instance’s Sites. You can disable it for specific Sites.

Global Scope Configuration

Follow these steps to configure auto tagging globally:

  1. Click the Global Menu (Global Menu) and click Control Panel.

  2. Under Configuration, click System Settings.

  3. In the Content and Data section, click Assets.

    Navigate to the Assets in the System Settings.

  4. Under System Scope, click Asset Auto Tagging.

  5. Check the box to enable Asset Auto Tagging globally.

    Configure Auto Tagging in System Settings.

  6. Enter a value for Maximum Number of Tags. The default value of 0 means that there is no limit.

  7. Click Save_ when finished*.

To set the default auto-tagging configuration for all instances, select Asset Auto Tagging under the Virtual Instance Scope section. The available settings are the same as those in the System Scope.

Virtual Instance Scope Configuration

When enabled globally, auto-tagging is also enabled by default for each Virtual Instance. You can, however, disable or configure it for each instance.

Follow these steps to configure Auto Tagging at the Virtual Instance scope:

  1. Click the Global Menu (Global Menu) and click Control Panel.

  2. Under Configuration, click Instance Settings.

  3. In the Content and Data section, click Assets.

  4. Under Virtual Instance Scope, click Asset Auto Tagging.

    Choose your Virtual Instance settings.

  5. The settings here are identical to those in the Global scope configuration, but apply only to the current Virtual Instance.

  6. Click Save.

Site Scope Configuration

  1. Access the Asset Auto Tagging option:

    • In Liferay DXP 7.4+:

      1. From the Site Menu, go to ConfigurationSite Settings.

      2. In the Content and Data section, click Assets and then click Asset Auto Tagging.

        In Liferay DXP 7.4+, change the Asset Auto Tagging setting from the Site Settings section.

    • In previous Liferay DXP versions:

      1. From the Site Menu, go to ConfigurationSettings.

      2. Under the General area, expand the Asset Auto Tagging option.

  2. Use the toggle to enable or disable Auto Tagging for the Site.

  3. Click Save.