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

AEM 6.4 - DAM Search result columns customization

Avatar

Level 2

We have a requirement to customize the search filters and result columns. Adding new filters was straight forward but can someone share how to add/delete columns in search results header? PFA screen shot.

Screen+Shot+2018-06-25+at+6.35.16+PM.png

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

Not sure but you can check

/libs/dam/gui/coral/components/admin/contentrenderer/row/assetomnisearch/assetomnisearch.jsp

/libs/settings/dam/search/facets/assets/jcr:content/items

Experiencing Adobe Experience Manager - Day CQ: AEM 62 - Touch UI Add Custom Columns to Assets Omni ...



Arun Patidar

View solution in original post

6 Replies

Avatar

Employee Advisor

You can use the "View Settings" tab to add/remove columns from the view.Screen Shot 2018-07-09 at 11.41.45 AM.png

Avatar

Level 2

My question is related to customization.

I know we can add/remove predefined columns. Here are the predefined columns that we get on click of View settings but we want to add our own custom columns. How that can be done?

Screen Shot 2018-07-12 at 11.22.09 PM.pngScreen Shot 2018-07-12 at 11.22.17 PM.pngScreen Shot 2018-07-12 at 11.22.23 PM.png

Avatar

Community Advisor

Hi,

All the column options are available at /libs/dam/gui/content/commons/availablecolumns which is configured through search result configuration dialog /libs/dam/gui/content/commons/configurecolumnsdialog

you can override /libs/dam/gui/content/commons/availablecolumns and add/remove nodes inorder to customise search result.

E.g.

Screen Shot 2018-07-15 at 12.48.22 AM.png

Thanks

Arun



Arun Patidar

Avatar

Level 2

Thanks Arun, How CustCol will be mapped to custom dam property jcr:content/metadata/custom_ns:CustCol?

Avatar

Correct answer by
Community Advisor

Hi,

Not sure but you can check

/libs/dam/gui/coral/components/admin/contentrenderer/row/assetomnisearch/assetomnisearch.jsp

/libs/settings/dam/search/facets/assets/jcr:content/items

Experiencing Adobe Experience Manager - Day CQ: AEM 62 - Touch UI Add Custom Columns to Assets Omni ...



Arun Patidar

Avatar

Level 2

Thanks Arun for sharing this.

Not happy to see these small-2 features missing in the top enterprise level CMS product. . One can add search filters using drag drop components in search form, but for result columns code change will be required. Not sounds good.