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

Policy of a component inside a component

Avatar

Level 2

Hi, is there a way to access the policy of a certain component that has been called by component using data-sly-resource?
Let's say I have a parent component and calls the customcomponent using data-sly-resource:

 

<sly data-sly-resource="${ 'share' @ resourceType='core/wcm/components/custom/customcomponent'}"></sly>

 

 Use case is that Icon strings are already implemented in policy of customcomponent and I added it to the Parent component. Thanks!

1 Accepted Solution

Avatar

Correct answer by
Level 2

After debugging, it gets policy from a different references. 
Already fixed the issue.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 2

After debugging, it gets policy from a different references. 
Already fixed the issue.