Legacy Knowledge Base
Published Jul. 2, 2025

No option to update imported fragment on the current site like web contents

Written By

Kanchan Bisht

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

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

Issue

  • No edit option for imported fragments
    Steps to reproduce:
    1) Create a 'Test Frag' fragment (Design->fragments)
    2) Create a 'Test' Page
    3) Add a fragment and web content on this page.
    4) Export it and uncheck the fragments and web content options while doing so.
    5) Create a new 'Site' and import the above .lar file
    6) Not able to see a fragment under Site Menu ->Design->Fragments after importing, however, web content is present with an editable option.
    Observed Behavior: Unlike web content, there are no options to update this imported fragment on this current site.
    Expected Behavior: There should be a way to edit imported fragments like web content.

Environment

  • Liferay DXP 7.3

Resolution

  • The observed behavior is the expected behavior of the DXP. 
    • The web content is exported because it would be assigned to a web content display widget. In this case, the web content is included in the export even if users uncheck the web content checkbox in the export configuration (unchecked the export of both web content and fragments).
      Also, the portal provides access to Web Content Edit on a page but this function is not applied for the Fragment yet. Users still need to go to the site menu to edit it.
Did this article resolve your issue ?

Legacy Knowledge Base