Extended Experience Fragment Component Not shown as a reference when publishing | Community
Skip to main content
Level 4
May 1, 2017
Solved

Extended Experience Fragment Component Not shown as a reference when publishing

  • May 1, 2017
  • 2 replies
  • 2272 views

I have extended the OOTB Experience fragment component by setting it as my custom components super type. Everything works great except that when I publish the page, the references UI does not detect that the extended Experience Fragment is pointing to a reference and so does not trigger replication of the experience fragment and any images etc included in the fragment e.g. http://localhost:4502/libs/wcm/core/content/sites/publishpagewizard.html?item=/content/mysite/en/xftest&editmode shows nothing other than the page to replicate but if I use the OOTB XF component the XF itself and any images show up in the list of that url.

 

Do i need to add anything to my custom XF component other than setting the base XF as it's super type (sling:resourceSuperType="cq/experience-fragments/editor/components/experiencefragment") or is extending the base XF component not currently supported?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sutty100

Ignore me, I started over and it worked, I must of made a mistake along the way last time!

2 replies

Sutty100AuthorAccepted solution
Level 4
May 1, 2017

Ignore me, I started over and it worked, I must of made a mistake along the way last time!

October 12, 2018

Hi - I know this is an old post, but we're trying to extend the Experience Fragment and I was hoping you could provide a little detail on how you did it to help me out.

We have copied the files under cq/experience-fragments/editor/components/experiencefragment and setting that as the sling:ResourceSuperType.  That seems to mostly work, but after doing that, we're unable to drag components onto pages anymore.  We can only double-click the "Drag components here" placeholders to add components.