Hi All,
I need to use sling dynamic include in one of the component in AEM6.5
It is not having dropdown option for 'Include type' with three options (ESI, Javascript and Apache SSI) on sling dynamic include bundle configuration after installing it from https://sling.apache.org/downloads.cgi
It is showing only 'SSI' as text field (not a dropdown). Am I referring correct bundle (3.3.0 version)?
Could anyone please share thoughts on this?
Thanks,
Pradeep
Views
Replies
Total Likes
Hi,
Sling Dynamic Include (SDI) only provides a dropdown option for "Include type" if you have the appropriate dependency installed. To use the ESI and JavaScript include types, you need to include the corresponding OSGi bundle dependencies in your AEM project. Without these dependencies, SDI will only show "SSI" as a text field instead of a dropdown. Double-check that you have the correct version of the SDI bundle and that the required dependencies are installed in your AEM instance.
After following the link I can see page html that cached on dispatcher has below line
<div class="testdynamic title aem-GridColumn aem-GridColumn--default--12"><!--#include virtual="/content/we-retail/us/en/_jcr_content/root/responsivegrid/testdynamic.nocache.html" --></div>
However page is not showing the content of testdynamic component at dispatcher
Added below rules on httpd.conf file
Not sure why content is rendering on publisher but not on dispatcher for testdynamic component.
Any hep is highly appreciated.
Thanks,
Pradeep