Expand my Community achievements bar.

SOLVED

Acs commons Report builder tool

Avatar

Level 2

Hi, 

 I have a requirement to get search parameters as one of the columns in result section in report tool. Is there any query to implement that or do we need to override OOB tool to do that? 

 

Thanks 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @prasanth96karats - 

 

  • In AEM, there is no specific Out-of-the-Box (OOTB) tool designed specifically for displaying search parameters as columns in the result section of a report.
  • However, AEM provides various features and capabilities that can be leveraged to achieve this requirement.

 

Before, proceeding towards a solution what underlying tool you are using to perform search & generate reports these details needs to be analyzed.

 

However, if you want to proceed with a customized approach. Here is what you can still consider : 

 

  • Create a custom component or script that captures search parameters during search operations and stores them in a data store (e.g., a custom data model or properties on nodes).
  • Develop a custom reporting tool or page that retrieves the stored search parameters and displays them as columns in the result section. You can use AEM's QueryBuilder API or other querying mechanisms to fetch the stored data and generate the report.

 

View solution in original post

3 Replies

Avatar

Community Advisor

Hello @prasanth96karats 

 

Exporting the query params as part of the excel isn't available. 

You would have extend the tool to accommodate the same. 

 


Aanchal Sikka

Avatar

Level 2

Thanks for replying aanchal, may I get some sample code or any reference for that? 

Avatar

Correct answer by
Community Advisor

Hello @prasanth96karats - 

 

  • In AEM, there is no specific Out-of-the-Box (OOTB) tool designed specifically for displaying search parameters as columns in the result section of a report.
  • However, AEM provides various features and capabilities that can be leveraged to achieve this requirement.

 

Before, proceeding towards a solution what underlying tool you are using to perform search & generate reports these details needs to be analyzed.

 

However, if you want to proceed with a customized approach. Here is what you can still consider : 

 

  • Create a custom component or script that captures search parameters during search operations and stores them in a data store (e.g., a custom data model or properties on nodes).
  • Develop a custom reporting tool or page that retrieves the stored search parameters and displays them as columns in the result section. You can use AEM's QueryBuilder API or other querying mechanisms to fetch the stored data and generate the report.