We have hundreds of content fragments based on templates (mainly the Simple Fragment). They are referenced on hundreds of pages. As we create new fragments, we are basing them on models. However, is it necessary to covert all the existing fragments to use a content fragment model instead of Simple Fragment?
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
HI,
Converting existing "Simple Fragment" content fragments to content fragment models is not strictly required but offers advantages in content structure, consistency, and authoring experience.
But the simple fragments should continue to work in future versions, correct?
Hello @user06081 ,
What is your question? Are you trying to analyze how to replace the association of existing Simple template on the existing fragments with a new custom Fragment model?
thanks,
Preetpal
Yes or whether that is necessary.
You can write a migration script that would create new content fragments based on the interface that you have created in your content fragment model.
This is what I am hoping to avoid. I suppose if I save the text, delete the existing fragment based on template, then create a new one based on model with same name, I would not have to update the reference within the pages themselves. Still a lot of work.
Views
Likes
Replies
Views
Likes
Replies