Skip to main content
Mar 15, 2021 7:17 PM UTC
Solved

Slingmodel adapted from a resource that comes from an Editable Template

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
@1961677 annotation to the resource is pointing to the page
/content/site/page/jcr:content/.../componentA
 
without the
editable="{Boolean}true"
then the @1961677 annotation is pointing to the path in the template 
/conf/site/settings/.../templateA/root/.../componentA
 
How is this supposed to work?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Rohit_Utreja
Rohit_UtrejaAccepted solution
Community Advisor
Mar 16, 2021 11:00 AM UTC

2 replies

Rohit_Utreja
Community Advisor
Rohit_UtrejaCommunity AdvisorAccepted solution
Community Advisor
Mar 16, 2021 11:00 AM UTC
Nikhil-Kumar
Community Advisor
Community Advisor
Mar 18, 2021 1:50 PM UTC

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

Translate