Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article explains how to input data using a form and retrieve the attachments into a Confluence page, based on the attachment labels using the Run Self-Service Reports for Confluence and SQL Advanced Table for Confluence apps.

Instructions

  1. In a Confluence page, Insert Run with a user form and parameters macro.
  2. Inside the Run macro, insert Attachment Table macro as a nested macro.
    Image Modified
  3. Edit the Attachment macro:
    1. Select the respective filtering options for Source, Space, and Page sections. In this example, we are using Single page, Current space, and Current page options respectively.
      Image Modified
    2. Use $LABEL under Attachment filtering for Attachment label regex field.
      Image Modified
  4. Edit the Run with a user form and parameters macro:
    1. Click Add my first field in the Field settings:
      Image Modified
    2. Select the desired Field Type and add LABEL as Field key.
      Image Modified
  5. Save the changes and publish the page.
  6. Enter the required details and click Run. Results are shown as per the labels available for the attachments on the respective page.
    Image Modified
Info

 The $ immediately followed by a Field key (LABEL in this case) from Run with a user form and parameters macro is replaced by the values provided in the form.