Legacy Knowledge Base
Published Jul. 2, 2025

Using the Global Scope when linking assets from multiple sites for Staging

Written By

Brett Ripley

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.

This article outlines a practical suggestion for storing and referencing content in multiple sites. Following this suggestion will help prevent errors and permissions issues for users referencing documents, media, web content, and more from multiple sites.

Resolution

According to the original concept; web content, structures, templates, documents, vocabularies and categories, application display templates and DDLs were not intended to be shared across sites unless those entities belong to the global scope. From Liferay Portal 6.2 however, some display portlets like the asset publisher, and certain content types now allow to use the scope of another site, even if it is not the global one. Although this is useful in some cases, the current staging framework may not be able to replicate the same references in the live site properly. In order to avoid confusion and possible dependency issues due to cross-site references, if you would like to share content in multiple sites with staging enabled, it is recommended to place it in the global scope.

Publishing to live may not work according to the user's expectation if there are references to content that does not belong to that site or the global site. For more information, please see the corresponding article, Staging a Site that References Another Site.

Please note that the functionality for this has been changed in Liferay 7.0—New feature for Liferay 7: Sharing Content between Sites.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base