Part 1 - Creating the Scaffolding macro structure

Overview

Build a Scaffolding macro structure that is used as an example for the workaround.

The List Data macro is the main Scaffolding macro used in this example.

At the end of this step you should be able to select pages in your current space:

Edit Contents

Page

Source code

The following source code is shared using Confluence Storage Format - the XHTML-based format that Confluence uses to store the content of pages, page templates, blueprints, blog posts and comments.

For more information on how to use this source code on your Confluence, read the following article - How do I use Recipes that use the Storage Format with the Confluence Source Editor?

<ac:structured-macro ac:macro-id="8050ece0-359b-436e-8fa0-6923ae9dd938" ac:name="list-data" ac:schema-version="1"> <ac:parameter ac:name="multiple">true</ac:parameter> <ac:parameter ac:name="name">target</ac:parameter> <ac:parameter ac:name="width">100%</ac:parameter> <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter> <ac:rich-text-body> <ac:structured-macro ac:macro-id="06348b0e-0289-4d9d-a6e3-2b1ee770ff7f" ac:name="content-options" ac:schema-version="1"> <ac:parameter ac:name="limit">1000</ac:parameter> <ac:parameter ac:name="spaces">@all</ac:parameter> <ac:rich-text-body> <p> <br/> </p> </ac:rich-text-body> </ac:structured-macro> </ac:rich-text-body> </ac:structured-macro>

Steps

  • add a List Data macro

    • set its Name parameter to "target"

Within the List Data macro

  • choose Save

Macro structure

Next

Part 2 - Creating the workaround