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

SOLVED

Slingmodel adapted from a resource that comes from an Editable Template

pinor21459292
Level 1
Level 1

Hi,

I have a sling model with Resource as adaptables,

I am trying to use it with the data-sly-use in a component.

This component is included into the page template structure.

If the template definition has 

editable="{Boolean}true"
then the
@Self annotation to the resource is pointing to the page
/content/site/page/jcr:content/.../componentA
 
without the
editable="{Boolean}true"
then the @Self annotation is pointing to the path in the template 
/conf/site/settings/.../templateA/root/.../componentA
 
How is this supposed to work?
1 Accepted Solution
Rohit_Utreja
Correct answer by
Level 4
Level 4
2 Replies
Rohit_Utreja
Correct answer by
Level 4
Level 4
Nikhil-Kumar
Community Advisor
Community Advisor

@pinor21459292  -  Can you provide more details as part of this query? What are planning to achieve ?