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.
Solved! Go to Solution.
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
You can use the "View Settings" tab to add/remove columns from the view.
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?
Views
Replies
Total Likes
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.
Thanks
Arun
Views
Replies
Total Likes
Thanks Arun, How CustCol will be mapped to custom dam property jcr:content/metadata/custom_ns:CustCol?
Views
Replies
Total Likes
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
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.
Views
Replies
Total Likes
Views
Likes
Replies