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

SDI not working for sling:include component

Level 2
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.


Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies
Level 7
Level 7

Hi @Sumit1191 ,

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




Level 2
Level 2

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


Thanks for your response.