Legacy Knowledge Base
Published Jul. 2, 2025

Layout Group ID is not published while using "Link to Page" field inside the web content

Written By

Pooja Bhambani

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

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

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

Before using any information from this article, independently verify itssuitability for your situation and project.

Issue

  • Steps to reproduce
    1. Create two public pages First and Second in the default Guest site.
    2. Create a custom structure and template "Link to Page" by referring the attachments.
    3. Create a new web content of structure type "Link to Page" with its content.
    4. Now drop this content on First page of the site.

    5. Setup a local live publication for the site and publish the structure, template, content and the page.
    6. Now check the First page on live site. Upon inspection you will find that the group Id is missing.
    7. The issue is that the link to page field is stored as "LAYOUT_ID@LAYOUT_TYPE@LAYOUT_GROUP_ID" in database but when we publish a web content containing link to page field on live site the layout group id goes missing and what is stored is "LAYOUT_ID@LAYOUT_TYPE".

    Expected Behavior: LIVE_LAYOUT_GROUP_ID should be appended to LAYOUT_TYPE field.
    Actual Behavior: LIVE_LAYOUT_GROUP_ID is not appended to LAYOUT_TYPE field.

Environment

  • Liferay DXP 7.2

Resolution

  • The observed behavior is a known issue. And, it is fixed in Fix Pack 12.
  • If the hotfix is required for this issue, please create a support ticket requesting hotfix by attaching patch details.
  • Installing Fix Packs and Hotfixes on Liferay DXP will guide to install this hotfix in the respective environment.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base