---
title: "Display all pages which use a specific macro"
canonical: "https://support.appfire.com/space/RFC/477333438/Display%20all%20pages%20which%20use%20a%20specific%20macro"
format: markdown
---
> Macro (aura-html)

## Scenario

Reporting Cloud is able to filter all pages that contain a specific macro.

This report can be useful for auditing, reviewing, or maintenance purposes.

This recipe is part of the template *All pages which use a scaffolding field group macro.*

## Result

![image](media://ff9c93b2-fb03-41ac-8147-7e2355d5dee6)

## Recipe

| Apps | Reporting for Confluence Cloud, Scaffolding Forms & Templates for Confluence Cloud |
| --- | --- |
| Level | Easy |
| Estimated time | 5 minutes |

## Steps

For this example, we are building a report that searches for all pages that contain Scaffolding data and renders the page titles and links to these pages. The end result will look like the table below.

Searching for Scaffolding data essentially means searching for the [Scaffolding - Field Group](https://appfire.atlassian.net/wiki/spaces/RFC/pages/477333438) macro, so the CQL query should be:

```
macro='field-group'
```

You can replace the `macro` value with the name of any other macro.

You can find a macro name by inspecting a page’s source code and looking for either the `title` or `extensionkey` of the macro you want to report on. For example, a Scaffolding Field Group macro would look something like this:

![image](media://78c44ecc-8ba4-470a-8a22-96a2e943be1e)


## Notes

This recipe is part of the Reporting built-in templates. You can load it into your page by [using the templates feature](https://appfire.atlassian.net/wiki/spaces/RFC/pages/477333100).

![reporting_templates.png](media://0e71cb88-4b31-4ef3-a738-84e6173eb476)

The report is limited to 200 results by default. If you want to view more results, you can enable **Get all results** below the search box.