Enable auto-generated Information Template FreeMarker snippets to correctly render repeatable field values without requiring custom template code

What is the problem you are trying to solve?

Information Templates provide auto-generated FreeMarker snippets for content structure fields through the template editor. However, when a field is configured as Repeatable, the generated snippet does not render the field values on the page.

As a content author or developer, I would expect repeatable fields to be supported in the same way as non-repeatable fields when using the auto-generated snippets provided by the Information Template editor.

Currently, additional custom FreeMarker logic is required to access and iterate through repeatable field values, which reduces the usability of Information Templates for content structures that rely on repeatable data

What is your project about? (e. g. Intranet, Partner Portal, Enterprise Website, etc)

Enterprise Website

What is your proposed solution? (optional)

Enhance Information Templates so that auto-generated FreeMarker snippets fully support repeatable fields.

Possible approaches:

  • Generate FreeMarker code that automatically iterates through repeatable field values.
  • Provide a dedicated helper method for rendering repeatable fields.
  • Clearly distinguish repeatable fields in the template editor and generate appropriate code snippets for them.

This would allow content authors and developers to use repeatable fields in Information Templates without requiring custom FreeMarker development.

Business Impact

Many content models rely on repeatable fields to manage lists of information, such as certifications, FAQs, features, benefits, contacts, and related content.

Without native support for repeatable fields in auto-generated Information Template snippets:

  • Additional FreeMarker development is required.
  • Template creation becomes more complex.
  • Information Templates become less effective for content structures containing repeatable data.

Providing built-in support would improve the authoring experience and reduce implementation effort.

Reproduction Steps

  1. Create a Web Content Structure named “ISO Content”.
  2. Add a Long Text field named “Description”.
  3. Mark the field as Repeatable.
  4. Publish the structure.
  5. Create a Web Content entry and populate multiple Description values.
  6. Create an Information Template for the structure.
  7. Insert the auto-generated FreeMarker snippet for the Description field from the right-hand panel.
  8. Map the Information Template to a page using an HTML Fragment.
  9. View the page.

Current Behavior

The repeatable field values are not rendered using the auto-generated snippet.

Desired Behavior

Repeatable field values should render automatically through the generated snippet, without requiring custom FreeMarker code.

Hi Urva,

I attempted to reproduce the behavior described, however, I was unable to reproduce the issue in my environment.

Could you please provide the exact Liferay DXP version and update level that you are currently using?

Additionally, could you please elaborate on the following step from your reproduction scenario?

Map the Information Template to a page using an HTML Fragment.

Hi Dhani,

Please refer to the steps below for reproducing the same inside New CMS (Space).

  1. Create a Web Content Structure named “ISO Content”
  2. Add a Description field and mark it as Repeatable
  3. Save and publish the structure
  4. Create a Web Content entry using the “ISO Content” structure and save it
  5. Go to Design → Templates → Information Templates and create a new template “ISO Detail” for “ISO Content”
  6. Insert the auto-generated FreeMarker snippet for the Description field and save
  7. Create a page “ISO Details”, add an HTML component, and map it to the “ISO Detail” Information Template
  8. Publish the page and observe the output.

Hi Dhani,

I am using Liferay DXP 7.4 2026.Q1.9