Content deployment issue | Community
Skip to main content
Level 3
November 27, 2023
Solved

Content deployment issue

  • November 27, 2023
  • 1 reply
  • 495 views

Whenever I'm creating a headless content package by adding a filter by folder path, any update in the existing content is ignored during deployment. When I build and download the package in a lower environment, I can see the updated content is available. Even after uploading the package and downloading it in a higher environment, I can see the changes available. So it's confirmed that content is getting ignored during installation just because of the filtering content using the folder path. Has anyone noticed a similar behaviour? Wondering if it's a desirable behaviour? For any new content, it's getting deployed without any issue.

Here is the filter I have for the content package:

 

<filter root="/content/dam/reliant/en/oe/sign-up" mode="merge"/>

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by aanchal-sikka

@mukeshaem 

 

Any content that already exists on the target environment, will not be updated due to mode="merge"

You would need to use update/replace instead. Please find the details below:

 

  1. replace : This is the normal behavior. Existing content is replaced completely by the imported content, i.e. is overridden or deleted accordingly.
  2. merge : Existing content is not modified, i.e. only new content is added and none is deleted or modified. 
  3. update : Existing content is updated, new content is added and none is deleted.

 

1 reply

aanchal-sikka
Community Advisor
aanchal-sikkaCommunity AdvisorAccepted solution
Community Advisor
November 27, 2023

@mukeshaem 

 

Any content that already exists on the target environment, will not be updated due to mode="merge"

You would need to use update/replace instead. Please find the details below:

 

  1. replace : This is the normal behavior. Existing content is replaced completely by the imported content, i.e. is overridden or deleted accordingly.
  2. merge : Existing content is not modified, i.e. only new content is added and none is deleted or modified. 
  3. update : Existing content is updated, new content is added and none is deleted.

 
Aanchal Sikka