Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

AEM Siteadmin - Search Results Page Customization

Avatar

Level 2

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".

 

Search-Results.png

 

@arunpatidar @lukasz-m

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi ,

You can select the column you need to display from settings .

HImanshu_Jain__0-1674652715150.png

 

 

 

 

Himanshu Jain

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi ,

You can select the column you need to display from settings .

HImanshu_Jain__0-1674652715150.png

 

 

 

 

Himanshu Jain

Avatar

Community Advisor

Hi @S__k__Agarwal 

 

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.