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)
- The Site scope comes with more options for fragments:
- The View Usages feature is available.
- This functionality lets you decide which version to propagate:

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