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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments
SOLVED

how to exract parrent component name from child component ?

Avatar

Level 4

how to extract parent component name from child component ? ex: i have composite component, component A has many child component, i need to extract component A name in the child component's html page with help of sightly.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

If you need to get parent node name then you can use below in sightly

${resource.parent.name}

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

If you need to get parent node name then you can use below in sightly

${resource.parent.name}