Content Finder drag and drop associations | Community
Skip to main content
DarrenBiz
Level 6
October 16, 2015
Solved

Content Finder drag and drop associations

  • October 16, 2015
  • 11 replies
  • 5075 views

Since the search feature isn't currently working, I will just post here anyway:

I want to change the association that happens when you drag and drop an asset from the Content Finder (say an Image) onto a parsys. Currently you always get associated with a foundation Image component within the parsys. I want it to create a custom component (e.g. CustomImage).

Can anyone let me know where I find these associations and how to change them?

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 JustinEd3

Hi,

In order to do what you are describing, you will need to override the standard Image Content Finder tab. Overriding a Content Finder tab is the same as creating a new one, you just assign it the id of an existing tab. See http://helpx.adobe.com/experience-manager/kb/CustomCFTab.html for an article about creating a custom Content Finder tab.

If you look at /libs/wcm/extensions/contentfinder/images.js, it should be clear where the association between the tab and the resource type is set up. Same is true for the video and documents tabs.

HTH,

Justin

11 replies

Community Advisor
October 16, 2015

If I understand your question correctly, it seems that you want to know what will be sling:resourceType when you drag and drop a component on parsys.

For image, it will be the path that image component resides, if you drag and drop any other component then it will display that component's resourceType.

For custom component it will be the path where you placed your component. Please elaborate if there are any specific questions on the problem you are facing.