Legacy Knowledge Base
Published Jul. 2, 2025

Structures and Templates are included in the exported LAR even though the export options excluded Structures and Templates

Written By

Brian Suh

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

While we make every effort to ensure this Knowledge Base is accurate, itmay not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with anyfeedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

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

Issue

  • Structures and Templates are included in the exported LAR even though the export options excluded Structures and Templates
  • Given that we have a Web Content article that is using a custom structure and template, if we create a Web Content export which excludes Structures and Template, we will find that the associated Structure and Template will be exported along with the Web Content that is associated with them.

Environment

  • Liferay DXP 7.0, 7.1, 7.2, 7.3, 7.4

Resolution

  • This is expected behavior. Per our What’s Expected from Staging? - WEB CONTENT ARTICLE section we can see that for Web Content structure, if a Web Content article is published, the structure (and its parent structure) and template are published. Please note that while the article is related to Staging, Staging automates the LAR export/import processes in the background.
  • Web Contents will always export the DDMStructures and DDMTemplates used by them to avoid the frustration of failing imports when these are not present on the importing site.
  • The checkboxes can only control the export of unused DDMStructures and DDMTemplates.

Additional Information

 

Did this article resolve your issue ?

Legacy Knowledge Base