Summary

Scaffolding's List Data macro doesn't have an out-of-the-box option for default values in its structure but there is a workaround to this limitation using Reporting for Confluence.  

Environment

  • Scaffolding

  • Confluence Server and Data Center

Diagnostics Steps

Generate HAR file and search for error, etc - basically steps for user to identify the issue. Empty the section if not applicable.

Cause

Not applicable.

Workaround

  1. Create a Hidden Data macro.

  2. Within the Hidden Data macro, create a Report Block macro.

  3. Within the Report Block macro, create a Local Reporter macro, Report Body macro, and Report Empty macro.

  4. Within the Report Empty macro, create a Set Data macro and give it a name.
    In this example, we will name it "test".

  5. Inside the Set Data macro, input the value you wish to be default.

  6. In the Local Reporter macro, set the Key parameter to "data:test".
    (This is the name of the Set Data macro holding our default value.)

You can see this example in action at our Demo site.

Macro structure:

Resolution

List down the resolution if any. If it's a bug, state that it's tracked internally. Once bug is fixed, update the KB with add on version that has the fix. Empty the section if not applicable. Note: You can't have both Workaround and Resolution sections empty. Either one should be filled in.