Show maps based on addresses in Scaffolding fields


This recipe shows you how to embed Google Maps in a Confluence page using address or coordinate data stored in Scaffolding.

This recipe also requires the third-party app Embed Google Map. With the Embed Google Map macro you are able to create maps by entering an address in the Address or coordinates parameter.

Reporting is used to directly inject Scaffolding values into Embed Google Map's Address or coordinates parameter.

If you already have address or coordinate data stored in Scaffolding, this avoids having to manually enter the data into the Address or coordinates parameter.





Server, Data Center


Estimated time

45 minutes



Storage format

Macro structure

You can recreate the example in the editor view:


  1. Add a Hidden Data macro.

  2. Within the Hidden Data macro, add a Repeating Data macro.
    Set its Name parameter to "Addresses".

  3. Within the Repeating Data macro, add a 2 x 2 table.

  4. In the first column, write "Enter the location".

  5. In the second column, add a Text Data macro.
    Set its Name parameter to "address" and its Content Type parameter to "text".

  6. Under the Hidden Data macro, add a Report Table macro.

  7. Within the Report Table macro, add a Local Reporter macro and two Report Column macros.
    Set the Local Reporter macro's Key as "data:Addresses".

  8. Set the first Report Column macro's Title to "Address" and add a Report Info macro within it.
    Set the Report Info macro's Key to "data:address".

  9. Set the second Report Column macro's Title to "Map".
    Set Injected parameter to "true".

  10. Add a Google Map macro within the second Report Column macro.
    Set its Address or coordinates parameter to "%data:address%".