Acs commons Report builder tool | Community
Skip to main content
Level 2
June 24, 2023
Solved

Acs commons Report builder tool

  • June 24, 2023
  • 2 replies
  • 1145 views

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 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Tanika02

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.

 

2 replies

aanchal-sikka
Community Advisor
Community Advisor
June 25, 2023

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
Level 2
June 25, 2023

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

Tanika02
Tanika02Accepted solution
Level 7
June 26, 2023

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.