Sling Dynamic Include on AEM Cloud
I embedded SDI in my AEM Cloud project like this - I added the dependency:
<dependency>
<groupId>com.adobe.acs</groupId>
<artifactId>acs-aem-commons-bundle</artifactId>
<version>6.0.10</version>
</dependency>Then in my component's HTL, I wrapped the dynamic part with:
<sling:include path="dynamicSection.html" resourceType="my/project/components/dynamicsection" />and I also configured the SDI servlet mapping under /libs/sling/servlet/default.
But when I load the page, it doesn't seem like SDI is actually working - everything is just loading normally without any include tags.
Am I missing something? Appreciate your help!
@arunpatidar @konstantyn_diachenko @aanchal-sikka @santoshsai