Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Change default DAM folder for content finder for one template

Avatar

Level 2

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!

1 Accepted Solution

Avatar

Correct answer by
Level 10

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/

View solution in original post

2 Replies

Avatar

Former Community Member

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

Avatar

Correct answer by
Level 10

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/