Expand my Community achievements bar.

SOLVED

Content Fragment - Nested Content Fragment and Fragment Reference

Avatar

Level 3

Hi Everyone,

In my AEM project I have multiple language (locale) like en-us, ar-ae, ja-jp and so on,
A content fragment exist with Copyright text and contains year. Everytime, I need to update the year, I have to visit each and individual content fragment for a language and update the year. Is there any way so that I have to update the year at one content fragment and it gets update in all the languages.

Also, I have created two CF model, Model A and Model B. In Model A, I have given a multiline field and allowed it to take reference from  Model B. I have created a simple CF with both the models.
Now, when I add the CF component on the page, and I select the CF which is based on Model A, I do not get the value( by value I mean, any content authored ) which I have authored in CF based out of Model B.
Am  I missing something ?

Please advise. 

Thanks in Advance
Aditya 
@kautuk_sahni 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

I believe it will be printing the path of nested content fragment ? If so, then it seems to be the expected behaviour Check this https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/refer-content-fragment-in-... 

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

I believe it will be printing the path of nested content fragment ? If so, then it seems to be the expected behaviour Check this https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/refer-content-fragment-in-... 

Avatar

Administrator

@adi411 Did you find the suggestion from users helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!



Kautuk Sahni

Avatar

Level 3

Yeah @h_kataria 's comment is the True Answer. It will always print a path.It's the default expected behaviour.
@kautuk_sahni