Simple Custom Parameters Report
For this example, we will build a report which displays a set of results based on a Sitecore Query and custom parameters.
Requirements:
The report will display all items under a path selected by the user in the content tree and only return items of a template selected by the user.
Let’s build it
Step 1: Create a new filter called “Items of Type” and configure as per the image.
Step 2: Create a Parameter item called “TemplateID” and configure as per the image.
Note that the root id refers to the root templates folder you wish the user to be able to filter from.
Step 3: Create a report item called “Items by Template” and configure as per the image.
Step 4: Run the report from ASR. Here you can see we have run the report to return all articles within the categories node of the content tree.