Legacy Knowledge Base
Published Jul. 2, 2025

Can the Web Content-related elements' IDs change after export/import processes?

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

  • I want to know if the IDs that can be seen on the UI for Web Content articles, Structures, Templates can change after exporting and importing them on the same or a different site.
  • We did a test where we exported a web content article and imported it to another site, the ID changed every time. We also observed that the DDM Template key that relates the template to the structure was the only one that did not change.

Environment

  • DXP 7.0+

Resolution

  • Most of these IDs are expected to change so this is the intended behavior of Liferay.
  • This is because UUID is designed to be treated as unique.
  • You can find that value in the journalarticle table, in a field called uuid_.
    This field contains a long string that provides a unique identifier for the given element.

List of Web Content-related Element IDs:

  • Web Content article ID: will change.
  • Structure ID: will change.
    site_liferay.pngsite_test.png
  • DDM Template Key: will not change. This ID connects the structure and the template so it is important that the ID remain the same.
    site_liferay_templatekey.pngsite_test_templatekey.png
  • Template ID: will change.

Additional Information

  • I have also attached the publishing option that may affect this behavior. Exporting and importing the same content changed the ID if it was imported as new content.
    publishing_import.png
    publishing_import_results.png
Did this article resolve your issue ?

Legacy Knowledge Base