Availability

 

Child pages
  • Adding Links and Images with Augments

Skip to end of metadata
Go to start of metadata

 

On this page

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 by the Confluence Command Line Interface (CLI) using --action getSpacePermissionList

Macro Browser Input

Select this Macro

Macro NameCSV (Comma Separated Values)
Macro Syntax{csv}

Define these Parameters/Values

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

Screenshot

Wiki Markup Input

{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!