---
title: "List all child pages of a selected page"
canonical: "https://support.appfire.com/space/RFC/477333294/List%20all%20child%20pages%20of%20a%20selected%20page"
format: markdown
---
> Macro (aura-html)

## Scenario

Generates a report that displays all child pages of the current page or a parent page specified by page ID.

This recipe is part of the template *Children pages of the current page*.

## Result

![image](media://85722cf2-28c3-41ab-a928-312c1dde363e)

## Recipe

| Apps | Reporting for Confluence Cloud |
| --- | --- |
| Level | Easy |
| Estimated time | 5 minutes |

## Steps

The template *Children pages of the current page* will generate a report on the child pages of the current page. This is specified by the `parent = currentPage()` section in the CQL query.

If you want to create a report on the child pages of another page, you must change the `parent`value to the page ID. For details on how to obtain the page ID of a page, refer to Atlassian’s page [How to get Confluence page ID](https://confluence.atlassian.com/confkb/how-to-get-confluence-page-id-648380445.html?__hstc=72543820.3ed169511bff716da189ebd03c026c3b.1647412751898.1677642624510.1677648287722.71&__hssc=72543820.105.1677648287722&__hsfp=179215543).

## 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://14619535-6de3-4bee-a7eb-436d3e9a4cfd)

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.