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
Adobe Summit 2023 | Complete list of AEM Sessions & Labs

SDI not working for sling:include component

Avatar

Level 2

I have enabled SDI (SSI) for one of the component say xyz component.

 

Here is the observation,

  1. Wherever we have included the component at page component level using <sling:include path="" resourceType=""/>, SDI is not working.
  2. Component which are authored directly on the page for them getting SDI comment(i.e. mean its working),
    <!-- SDI include (path: <node path>.sdinocache.html, resourceType: <component resourcetype>) -->

Any suggestion to enable SDI for observation/scenario 1.

2 Replies

Avatar

Community Advisor

Hi @Sumit1191 ,

         Can you try to used data-sly-resource instead of sling:include and same resource type mentioned in SDI configuration.

 

Regards,

Sanjay

Avatar

Level 2

Hi @Sanjay_Bangar , We have this requirement specific to classic UI, so using jsp in code base.

 

Thanks for your response.