How to preserve the structureId and formId during export/import to avoid mismatches between environments?
Issue
- When we export/import web content articles and forms, their IDs sometimes change.
- How to preserve the
structureId
and formId
during export/import to avoid mismatches between environments?
Environment
- DXP Quarterly Release 2024.Q3.0
Resolution
- Entity IDs are not preserved during import/export, as these fields must adhere to database level constraints.
- The IDs might stay the same when the import targets the exporting site in the same environment.
- Instead of using
structureId
or formId
, ERC or externalReferenceCode
should be used because it will be preserved between environments.
订阅者专属内容
Liferay企业级订阅提供超过1500篇文章的访问权限,包括最佳范例,排查和解决问题,和其他有价值的解决方案。登录以获得全部权限。
登录