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
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.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
Fields - are you referring to dialog fields or Fields that appear in a rendered component?
Views
Replies
Total Likes
Dialog fields
Views
Replies
Total Likes
Much better practice for each component to build its own JCR nodes that represent a dialog. A 1-1 relationship.
Views
Replies
Total Likes
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:
Hope these will Help!