legacy-knowledge-base
Publicado Jun. 25, 2030

Cannot set the template key when creating a widget display template

written-by

Cristina Rodriguez

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

Issue

  • When creating new widget display templates, there does not appear to be an option to define the key name.

Environment

  • Liferay DXP 7.4+

Resolution

  • This behavior is expected when using the Autogenerate Template Key system setting (enabled by default).
  • To disable this setting and set template keys yourself:
    1. Go to System Settings > Content and Data > Dynamic Data Mapping > Dynamic Data Mapping Web.
    2. Deselect Autogenerate Template Key.
did-this-article-resolve-your-issue

legacy-knowledge-base