Hi Team,
I extended component A to component B, so, I have style policies for component A how to get that style policies in component B.
Solved! Go to Solution.
Views
Replies
Total Likes
To extend component A to component B and inherit the style policies of component A, you can proceed as follows:
1. In component B, ensure that you've configured the sling:resourceSuperType property to reference the resource type of component A.
2. By extending component B from component A using the sling:resourceSuperType, component B will automatically inherit the style policies defined for component A.
3. You can confirm this inheritance by checking the Component Policy section in the Edit Template.
To extend component A to component B and inherit the style policies of component A, you can proceed as follows:
1. In component B, ensure that you've configured the sling:resourceSuperType property to reference the resource type of component A.
2. By extending component B from component A using the sling:resourceSuperType, component B will automatically inherit the style policies defined for component A.
3. You can confirm this inheritance by checking the Component Policy section in the Edit Template.
@KKeerthi Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes