After using LiveCopy, Publishing to DM not working for some assets
The LiveCopy function copies all pages/assets from a certain location and creates language copies of those pages/assets in the destination location.
This is documented here:
/en/docs/experience-manager-cloud-service/content/sites/administering/reusing-content/msm/live-copy-overview
When the assets in question in the source location are synchronized to DynamicMedia_Scene7, this can cause conflicts with the assets in the destination location where the sync is not working as expected. This knowledge base article is there to explain the concern and how to solve.
Description description
Description : After using LiveCopy, Publishing to DM is not working for some assets
I tried single publish, folder publish, quick publish, manage publication, reprocess assets. Nothing works.
The explanation is that AEM is path based, whereas DynamicMedia_Scene7 is asset handle based.
The LiveCopy function copies the assets including the asset metadata from the source location to the destination location.
In the Asset metadata are the details of the assets in the DynamicMedia backoffice location, i.e. the assetHandle of the asset in DMS7.
Since the assets are copied with all asset metadata, the original asset in AEM and the LiveCopy asset therefore contain the very same assetHandle in DMS7.
This means that both the original asset in AEM and the LiveCopy asset are pointing to the very same original asset in DMS7.
When DM assets are requested using full path (VirtualID is activated) this means that either the asset at the DMS7 side at that location is not available, or is not published. Reprocessing at the AEM side doesn鈥檛 work, since it is applied to the asset at the original location in DMS7.
Resolution resolution
The solution is to prevent the LiveCopy function from copying DMS7 metadata properties:
prevent dam:scene7.* from being copied in the page properties, both in the update setting
鈥渃om.day.cq.wcm.msm.impl.actions.ContentUpdateActionFactory.cfg.json鈥 as
well as in the copy setting
鈥渃辞尘.诲补测.肠辩.飞肠尘.尘蝉尘.颈尘辫濒.补肠迟颈辞苍蝉.颁辞苍迟别苍迟颁辞辫测础肠迟颈辞苍贵补肠迟辞谤测.肠蹿驳.箩蝉辞苍鈥.
In AEM 6.5 you can configure this in /system/console/configMgr
In AEMaaCS this change needs to be puhsd out through the pipeline