Content fragment Model update - will it affect existing content fragments | Community
Skip to main content
Level 3
January 10, 2023
Solved

Content fragment Model update - will it affect existing content fragments

  • January 10, 2023
  • 3 replies
  • 1432 views

Team, 

If we make changes (add/remove fields) to a Content Fragment model that is already being used to create content fragments, will this modification have any impact on the previously(existing) created content fragments utilizing that model? 

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 nitesh_kumar-1

Hi @nj2 ,

 

Yes, editing the Content fragment model can impact the existing content fragment depending on your use case. It's also mentioned in the official documentation.

https://experienceleague.adobe.com/docs/experience-manager-65/assets/content-fragments/content-fragments-models.html?lang=en#defining-your-content-fragment-model

 

Regards,

Nitesh

 

 

3 replies

Saravanan_Dharmaraj
Community Advisor
Community Advisor
January 10, 2023
nitesh_kumar-1
Adobe Employee
nitesh_kumar-1Adobe EmployeeAccepted solution
Adobe Employee
January 10, 2023

Hi @nj2 ,

 

Yes, editing the Content fragment model can impact the existing content fragment depending on your use case. It's also mentioned in the official documentation.

https://experienceleague.adobe.com/docs/experience-manager-65/assets/content-fragments/content-fragments-models.html?lang=en#defining-your-content-fragment-model

 

Regards,

Nitesh

 

 

nj2Author
Level 3
January 13, 2023

Thanks Nitesh, I have already checked it, but this link does not answers on "what" & "how" part. 

krati_garg
Adobe Employee
Adobe Employee
January 11, 2023

@nj2 Adding a new field on a CF Model, might not have huge impact. As existing CFs will start showing the new field on the UI. The default value to this new field will not persist in CF, until it is manually opened and saved..

Delete a Field has a caveat, although it will stop appearing on the UI, but if you have saved a value against the deleted field in an existing CF, the value will persist at the crx level.

nj2Author
Level 3
January 13, 2023

Thank you Krati, my analysis is also in the same line, unfortunately, this behavior or content fragment is not documented.

Is it safe to conclude that any change in the Content fragment model will not affect existing fragments that use the model, but will affect newly created fragments?