Legacy Knowledge Base
Published Jul. 2, 2025

Differences between manual and automatic fragment propagation for resources

Written By

Rita Schaff

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

  • If you have a fragment with some resources, you can either import them on the UI each time you want to update it, or you can deploy them by placing the zipped fragment into the
    <liferay-root>\deploy folder.
  • Are there any differences between using the 2 options?

Environment

  • DXP 7.3

Resolution

Depending on the method, the scope will be different which comes with different options.

Manual Import: importing on the UI

  • A collection/fragment set is shown (the name of the site, e.g. Liferay DXP).
    → the fragment is imported in the Site scope (or where you are doing the import)
    Manual_Import_-_Steps.png
  • The Site scope comes with more options for fragments:
    Options_for_fragments_within_the_site.png
  • The View Usages feature is available.
    Manual_Import_-_View_Usages_button.png
  • This functionality lets you decide which version to propagate:
    View_Usages_-_Propagate_a_page.png
    View_Usages_-_Propagation_complete.png

Deployment: deploying the fragment

  • The fragment is automatically imported into the Global scope.
    Deployment.png
  • There is no View Usages functionality.
    Deployment_-_View_Usages.png
  • Viewing the Global fragment from another site comes with limited options.
    Options_for_fragments_in_the_Global_scopepng.png
  • If you want to define the scope for fragment deployments, please see Auto-Deploying Fragments

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base