How to add links and images with augments - Cloud

Overview

This example shows how to add wiki links and images to CSV data produced by other processes. This highlights the real advantages of augments especially for data produced by other processes. In this example, the data is produced using the Confluence Command Line Interface (CLI) app's getSpacePermissionList action.

Macro browser input

Select this macro

Macro nameAdvanced Tables - CSV Table
Macro syntax (Old editor){csv}
Macro syntax (New editor - case insensitive)/CSV (Comma Separated Values)

Define these parameters/values

Output formatwiki
Columns to displaySpace, Id Type, Id, Viewspace
Augments to data row values
[%Space%:],,,!images^%viewspace%.png!
Augments to heading row values,,,View

Column type

S,S,S,E

Screenshot

Wiki markup input (Old editor)

{csv:output=wiki
  |columns=Space, Id Type, Id, viewspace
  |augments=[%Space%:],,,!images^%viewspace%.png!
  |headingAugments=,,,View
  |columnTypes=S,S,S,E}
...
{csv}

Example result

Other examples

Visit our full list of product examples for additional inspiration!