Change default DAM folder for content finder for one template | Community
Skip to main content
todd_guerra
New Participant
October 16, 2015
Solved

Change default DAM folder for content finder for one template

  • October 16, 2015
  • 2 replies
  • 843 views

I need to know how to change what folder loads in the content finder for the DAM for a template. If I can set it programmatically, even better. I'm setting up products and would like the DAM to show the same folder location in the DAM that the page I'm working on. 

Is this possible? What would I need to do to have template x at products/brandname/productname just load the DAM assets in the content finder at dam/products/brandname/productname ?

 

Thanks!

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 Sham_HC

Agree with AnwarSadat1985. Below articles helps amount of steps required though you need to build a logic to get current  page path & map to respective dam folders.

http://helpx.adobe.com/experience-manager/kb/CustomCFTab.html
http://chanchal.wordpress.com/2013/06/26/how-to-add-your-own-content-finder-tab-in-cq5/

2 replies

October 16, 2015

You may have to extend the content finder component (Move the component from /libs to /apps in the same structure ). Use the currentPage.getPath() to build the path for the DAM assets to be displayed.

 

CQ engine by default looks for the component first in /apps before looking into /libs folder, thereby using your custom component

Please reach out to me for more queries

Sham_HC
Sham_HCAccepted solution
New Participant
October 16, 2015

Agree with AnwarSadat1985. Below articles helps amount of steps required though you need to build a logic to get current  page path & map to respective dam folders.

http://helpx.adobe.com/experience-manager/kb/CustomCFTab.html
http://chanchal.wordpress.com/2013/06/26/how-to-add-your-own-content-finder-tab-in-cq5/