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

Content fragment Model update - will it affect existing content fragments

  • January 10, 2023
  • 3 replies
  • 1427 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

krati_garg
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
New Participant
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?

nitesh_kumar-1
nitesh_kumar-1Accepted solution
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
New Participant
January 13, 2023

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

Saravanan_Dharmaraj
New Participant
January 10, 2023