Expand my Community achievements bar.

can anyone explain how to hide the Component A properties in Component B

Avatar

Level 4

can anyone explain how to hide the Component A properties in Component B. Suppose i need to hide 3 properties out of 5. Thanks in advance

6 Replies

Avatar

Level 10

What type of component are you building - how are you implementing it? Please provide more details. Why do you want to hide properties that belong to another component.

Avatar

Level 4

In 6.2 I got a requirment that in Component A has 5 fileds .In component B has 3 same fileds of Comp A. So i want to make the use of Component A fields(by using hide property) in comp B

Avatar

Level 10

Fields - are you referring to dialog fields or Fields that appear in a rendered component?

Avatar

Level 10

Much better practice for each component to build its own JCR nodes that represent a dialog. A 1-1 relationship.

Avatar

Level 5

I Agreed with smac.

If you want to reuse the same dialog field of Component B in A then look these will help.

For Classic dialog :

Reusing Tabs or Fields From an Existing Dialog | Adobe AEM The Right Way

For Touch ui dialog:

Touch UI - Reuse Dialog Field

Hope these will Help!