Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Teams
, (opens new window)

Scaffolding Forms & Templates for Confluence Data Center
Results will update as you type.
  • Overview
  • Get started
  • Use cases
    • Basic
      • Create a checklist with special characters
      • Create a dynamic table
      • Create an FAQ form
      • Use a live template
      • Create a simple form with Scaffolding macros
      • Specify page sections for quick edits
      • Use attachments as list options
      • Use Confluence user names as list options
      • Create editable sections on a page
    • Intermediate
    • Integrations with other apps
  • Administrator guide
  • Developer Guide
  • Macro reference
  • Tutorials
  • Migrate from Scaffolding Data Center to Scaffolding Cloud
  • Release notes
  • Help and support
    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    Use attachments as list options
    Updated Jun 18

    Use attachments as list options

    Let's create a set of options from a dropdown menu that obtains its options from attachments on the page.

    On this page:

    • 1 Ingredients
    • 2 Guide
    • 3 Notes
    • 4 Result

    On this page:

    • 1 Ingredients
    • 2 Guide
    • 3 Notes
    • 4 Result

    Ingredients

    Apps

    Scaffolding

    Macros

    Attachment Options, List Data

    Guide

    1. Create a table as in the following image:

    1. Using the List Data and Attachment Options macros, fill in the table as in the following image:

    1. Attach some images to the page that can be used as options in the dropdown menu.

    2. Save the page.

    You created a table with dropdown menus with options that are populated with the page attachments.

    Notes

    • You can specify more than one Attachment Options macro.

    • The attachments can be from another page as well as from the current page.

    • Include and exclude parameters can be populated with either:

      • a regex

      • an exact filename

    Use unique macro names to avoid conflicts.

    Result

     

    {"serverDuration": 16, "requestCorrelationId": "c13b665ec44a4554abd5007aa748ecca"}