Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

How to cancel inheritance on parts of a content fragment?

lnl-jlanssie
Level 1
Level 1

Is there a way to cancel the inheritance for some parts of a content fragment? 

 

I have a use case where a part (e.g. title) needs to be kept in sync and has to be inherited in all live copies.

But another part (e.g. description) needs to be different in each language and should have cancelled inheritance.

 

Is there an OOTB way to do that inside AEM? 

 

CF.png

 

Assets content fragment Content Fragment Model Data Type content fragments Synchronization
1 Accepted Solution
KiranVedantam1992
Correct answer by
Community Advisor
Community Advisor

Hi @lnl-jlanssie,

 

You can use the below property wherever you need the inheritance and can remove it if you do not need it.

cq-msm-lockable="./name"

Hope this helps.

 

Thanks,

Kiran Vedantam

View solution in original post

2 Replies
KiranVedantam1992
Correct answer by
Community Advisor
Community Advisor

Hi @lnl-jlanssie,

 

You can use the below property wherever you need the inheritance and can remove it if you do not need it.

cq-msm-lockable="./name"

Hope this helps.

 

Thanks,

Kiran Vedantam

View solution in original post

lnl-jlanssie
Level 1
Level 1

I should have specified, but will this allow an author to cancel inheritance on a particular input field inside the Touch UI? 

 

I am looking for an OOTB way an author can sync a Live Copy Content Fragment from a Blueprint, change a particular input field, sync the Live Copy and have all the content synced from the Blueprint except for that particular input field that was authored.

 

For example, an author syncs the Live Copy Content Fragment in the above screenshot. All the content is updated from the Blueprint. The author adapts the Title field and syncs the Live copy again. The Live Copy Content Fragments overwrites all the input fields with content from the Blueprint, except for the Title field, where the author wrote some custom content.