I am trying to work with experience fragments and want to achieve two of the following.
Create and use a component as XF
I have a carousel component and i want the individual carousel slides to be an experience fragment?
I cannot find any good resources which help me in achieving this . They all point to page experience fragments.Do guide on how to move forward for the above
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
See if this can help you which I got from google.
cq.domReady(function() {
CQ.Ext.ns('AEM.Component.xfpage');
AEM.Component.xfpage.YourCustomXFComponent = CQ.Ext.extend(AEM.Component.xfpage, {
// Your custom component logic here
});
});
<div class="your-custom-xf-wrapper">
<cq:PageContent cq:template="/libs/foundation/components/parsys/parsys.html"/>
<p>This is some static content within your custom XF.</p>
</div>
See if this can help you which I got from google.
cq.domReady(function() {
CQ.Ext.ns('AEM.Component.xfpage');
AEM.Component.xfpage.YourCustomXFComponent = CQ.Ext.extend(AEM.Component.xfpage, {
// Your custom component logic here
});
});
<div class="your-custom-xf-wrapper">
<cq:PageContent cq:template="/libs/foundation/components/parsys/parsys.html"/>
<p>This is some static content within your custom XF.</p>
</div>
Hi @Zendarkke
You can use core component
There you have a possibility to add XF as carousel item(slide).
Views
Likes
Replies