Legacy Knowledge Base
Published Jul. 2, 2025

Globally Scoped Content Will Not Be Published nor Imported to Global Scope on Target Sites

Written By

Vincent Liu

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.

Under the following scenarios, globally scoped content is not published or imported to global scope on the target site when content refer to it get published or imported. While this may be an intended behavior, it could cause confusion or missing reference issues for certain use cases. This article will provide clarification and solutions to those cases. 

Scenario 1

If we import a site that was exported with Web Content using Global template/structure, the Global structure/template will be imported into the local site level instead of the global site level.

Scenario 2

If we publish a Staging site that has Application Display Template(ADT) created for Asset Publisher in Global scope, com.liferay.portal.MissingReferenceExceptionwill occur. The missing reference error shows that it is related to the specific ADT in Global Scope. 

Resolution

If staging content that references Globally scoped content like structure or template is planned to be published or imported, the Global content(template/structure) is supposed to be exported from the source environment first, then imported to target system's global scope before site's import or publishing. 

Did this article resolve your issue ?

Legacy Knowledge Base