We have requirement to customize the OOTB Sites Search Results Page, where we want to hide/remove some unwanted columns.
For example, in the below screenshot, we want to hide/remove columns "preview" & "operation".
Also, we want to add a custom column named "country".
Solved! Go to Solution.
Views
Replies
Total Likes
Hi ,
You can select the column you need to display from settings .
Hi ,
You can select the column you need to display from settings .
To hide and remove the unwanted columns, you can use the approach suggested by @Himanshu_Jain .
To add a custom column "Country", you would need to overlay the following path /libs/wcm/core/content/common/availablecolumns and add the node for the Country. Along with that you would also need to overlay the following script to write the custom logic to populate the country value.
/libs/cq/gui/components/siteadmin/admin/listview/columns/datasources/availablecolumnsdatasource/availablecolumnsdatasource.jsp
Hope this helps.
Views
Likes
Replies