Versions Compared

Key

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

On this page

Table of Contents
maxLevel

...

1

...

exclude

...

On this page
typeflat
separator

...

 

Section
Column

Adding a row number

Description

The simplest example is adding a row number to the data. It can be added in any column position.

Example imageImage Removed
Macro browserImage Removed
Wiki
No Format
{csv:columns=,Product, Sales|augments=%#%}
Product, Sales
ABC, 1000
XYZ, 2000
{csv}
Note
titlePersistent row number

This row number is added to the html table produced by the macro just as if it was in the original CSV data. This will show in an exported page. This is different than selecting Auto number each row for the table which is a browser display option only.

 

 

...

Adding links and images

...

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 CSOAP using --action getSpacePermissionList

...

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

 

 | 

Overview

Augments Examples

Child pages (Children Display)

 

Include Page
_SupportFooter
_SupportFooter

Include Page
_RightPanel
_RightPanel