---
title: "Populate a list with Confluence pages"
canonical: "https://support.appfire.com/space/SCAFS/477599385/Populate%20a%20list%20with%20Confluence%20pages"
format: markdown
---
> Macro (aura-html)

This article demonstrates how to dynamically populate a dropdown list with Confluence pages created as child pages of a specified parent page.

> ✅ One advantage is that the list automatically grows or shrinks based on the available content.

## Ingredients

| **Apps** | Scaffolding |
| --- | --- |
| **Macros** | Content Options, List Data |

## Guide

1. Create a table as in the following image:

![image](media://67425941-2819-4aff-a3e5-32a66497c994)

2. Insert [Date Data](https://appfire.atlassian.net/wiki/x/mZh3H) macros as shown in the *Start Date* and *End Date* columns.

![image](media://6aacc3ee-9939-4000-9b02-81fecde2409b)

3. Set the Date Data macro names to `startint` and `endint`.
4. Insert a [List Data](https://appfire.atlassian.net/wiki/x/AJl3H) macro in the *Tutorials Selected* column.
5. Set the List Data macro name to `ScafTutorials` and select the **Allow Multiple** checkbox.
6. Insert a [Content Options](https://appfire.atlassian.net/wiki/x/c5h3H) macro into the List Data macro.
7. In the *Insert ‘Content Options’ macro *dialog, set the **Space(s)** and the **Parent** parameters.

> ✅ For this example, enter the current space, `SCAF`, and the *Basic Tutorials* page located in that space in **Parent**.

![image](media://d885852c-c894-41fa-b449-ac657eb6458d)

8. Click **Insert** and publish the page.
9. Click **Edit Contents** to enter your data.

![image](media://3cb42b2a-7ca4-4aa6-88c9-2d5f105fe599)

A list of Confluence pages appears in the dropdown menu in the *Tutorials Selected* column.

> ✅ You can press `Ctrl` to select multiple options.

## Notes

For the **Parent** parameter:

- If the parent/ancestor is* *in the same space, you can either enter just the page title or the space key followed by the page title.
- If the parent/ancestor* *is in a different space, enter the space key followed by the page title. For example: `<SPACE>:<Page Title>`.

> ⚠️ You may experience performance issues with [Content Options](https://appfire.atlassian.net/wiki/x/c5h3H). Use sparingly.

## Result

![image](media://f6a2967b-b19c-49f9-991d-82ad8419fbd0)