Field Level Inheritance - MSM

Avatar

Avatar

shirley_lenny-Z

Avatar

shirley_lenny-Z

shirley_lenny-Z

15-10-2015

Hi,

How to achieve field level/properties inheritance on components when rolling out pages [Similar to Page Properties: Language, Redirect ]?

For example, a component has 3 properties/fields A, B and C.

Component on English Page: 
A="English"; B="en"; C="lang"

Component on French Page: 
A="French"; B="fr"; C="lang"

Generally, when I rollout the English page, all three properties are copied to French. If i have to change A and B property on French, I have to break the inheritance for the entire component. But my requirement is that the inheritance be maintained at field level rather than component level. 

We can see this behavior on few of the Page properties on the Live Copies. We need the same functionality on Component properties as well.

Please help.

Thanks in Advance,
Shirley
 


 

View Entire Topic

Avatar

Avatar

PriyankaBiswal

Avatar

PriyankaBiswal

PriyankaBiswal

25-09-2019

Hello ,

Apart from adding the fieldEditLockMode, May be you will have to also overlay the MSM JS to add  the  properties jcr:mixinTypes and cq:propertyInheritanceCancelled whever you cancel inheritance of a propery.

For Eg.

jcr:mixinTypes Name[] cq:LiveRelationship, cq:LiveSyncCancelled, cq:PropertyLiveSyncCancelled

cq:propertyInheritanceCancelled String[] property1