---
title: "Scaffolding app - Retrieve list-data via supplier reference"
canonical: "https://support.appfire.com/space/CDML/649925273/Scaffolding%20app%20-%20Retrieve%20list-data%20via%20supplier%20reference"
format: markdown
---
> Macro (aura-html)


## Overview

![logo-scaffolding-forms-and-templates.png](media://097a37e4-32eb-4216-b011-7bb81b939e36)

This example requires that you have the [Scaffolding Forms and Templates app](https://appfire.atlassian.net/wiki/spaces/CDML/pages/650315581) and the [Reporting for Confluence app](https://appfire.atlassian.net/wiki/spaces/CDML/pages/649759324) installed.

> 📝 If the reporting app is not installed, the value retrieved is empty

## Example

> ℹ️ First, complete the following Scaffolding app [list-data](https://appfire.atlassian.net/wiki/spaces/SCAFS/pages/477600000) tutorial: [Using Confluence User Names as Options](https://appfire.atlassian.net/wiki/spaces/SCAFS/pages/477598877)

The [Supplier References](https://appfire.atlassian.net/wiki/spaces/CDML/pages/649532510) to the three lists are as follows:

```plaintext
@data:Project Manager@
@data:Developers@
@data:Tech Writers@
```

> 📝 The list names are case-sensitive, and must be typed exactly as defined in the Scaffolding data.

## Sending emails to users defined in Scaffolding list-data

These references can be used in conjunction with the [send-email](https://appfire.atlassian.net/wiki/spaces/CDML/pages/649924039)**[ ](https://appfire.atlassian.net/wiki/spaces/CDML/pages/649924039)**[macro](https://appfire.atlassian.net/wiki/spaces/CDML/pages/649924039), for example:

```plaintext
{workflow:name=List email}
   {state:Editing|submit=Review}
   {state}
   {state:Review}
   {state}
   {trigger:statechanged|state=Review}
      {send-email:user=@data:Project Manager@,@data:Developers@,@data:Tech Writers@|subject=Review started}
         Please review @pagelatest@
      {send-email}
   {trigger}
{workflow}
```

The Scaffolding data is always returned from the latest version of the content.

> ℹ️ This latest version returning the data can be in a draft state in the applied workflow.