This article explains how to input data using a form and retrieve the attachments in into a Confluence page based on attachment labels using the Run Self-Service Reports for Confluence and SQL Advanced Table for Confluence apps respectively.
Instructions
- Insert Attachment Table macro with a nested In a Confluence page, insert a Run with a user form and parameters macroparameters macro.
- Insert an Attachment Table macro inside the Run macro.
- Edit the Attachment macro and perform the following:
- Select the respective relevant filtering options for the Source, Space, and Page sections respectively parameters. In this example, we are using the Single page, Current space, and Current page options respectivelyare selected for the respective parameters.
- Use Enter $LABEL in Attachment label regex under the Attachment filtering for Attachment label regex fieldtab and Save the macro.
- Select the respective relevant filtering options for the Source, Space, and Page sections respectively parameters. In this example, we are using the Single page, Current space, and Current page options respectivelyare selected for the respective parameters.
- Edit the Run with a user form and parameters macroand parameters macro and do as follows:
- Click Add my first field in the in Field settings:.
- Select the desired Field Type and add LABEL as in Field Keykey.
- Click Add my first field in the in Field settings:.
- Save the changes and publish the page.
- Enter the required details and click label to be retrieved and click Run. Results will be are shown as per the labels given label available for the attachments in on the respective specified page. In this example, the output is as shown:
Info |
---|
The $ immediately followed by a a Field key (LABEL in this case, LABEL) from from the Run with a user form and parameters macro is replaced by the values provided in the form. |
...