AEM Siteadmin - Search Results Page Customization | Community
Skip to main content
Level 3
Jan 25, 2023 12:35 PM UTC
Solved

AEM Siteadmin - Search Results Page Customization

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

 

 

@arunpatidar @lukasz-m

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Himanshu_Jain
Himanshu_JainAccepted solution
New Participant
Jan 25, 2023 1:19 PM UTC

Hi ,

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

 

 

 

 

Himanshu Jain

2 replies

Avinash_Gupta_
New Participant
Jan 25, 2023 7:17 PM UTC

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.

Translate
Himanshu_Jain
Himanshu_JainAccepted solution
New Participant
Jan 25, 2023 1:19 PM UTC

Hi ,

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

 

 

 

 

Translate
Himanshu Jain