Versions Compared

Key

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


Div
idProductTOC

On this page

Table of Contents
maxLevel1
excludeOn this page
typeflat
separatorpipe

Overview

Augments are a set of macro parameters that provide the ability to augment the data found in the table with additional columns derived from other information available. More capabilities are planned for the future. This is supported by the CSV Macro and the JSON Table Macro. The list of supported replacements follows later.

Why would you use augments? In some cases, you may have little control over how the data is produced. For instance, importing csv files produced by external processes. The data may not be in the best format for displaying in Confluence. In some cases, if the data could be changed in minor ways, then it would be shown better in Confluence. For instance, links could be added or data manipulated to more accurately reflect the context.

Parameters

Table plus
sortIcontrue


Parameter
Default
Macro Browser Label
Description
augments
Augments to data row values

Comma separated list of augments to the data, one for each column.

headingAugments
Augments to heading row values

Comma separated list of augments to the data, one for each column.

footingAugments
Augments to footing row values

Comma separated list of augments to the data, one for each column.

columns
Columns to showComma separated list of column names or numbers in any order. Defaults to all columns in existing order. Columns are enumerated starting at 1. For augment support, use * to represent a augmented column to be added.


Anchor
replacement
replacement

Replacement Keys

Replacement keys enclosed in % will have replacements as indicated below. Example:  %#% will be replaced by the current row number.

Table plus
sortIcontrue


KeyReplacementDifference if heading or footing row?
*original value
emptyoriginal value
blankblank
#row number (starting at 1 for the first data row)blank
numbervalue of the column identified by column number (1 based)
namevalue of the column identified by column name lookup if valid
!| (may be needed when using wiki markup)
[{ (may be needed when using wiki markup)
]} (may be needed when using wiki markup)



Examples

Filter by label (Content by label)
showLabelsfalse
spaces@self
showSpacefalse
sorttitle
operatorAND
cqllabel = "augments" and label = "example" and space = currentSpace()
labelsexample,augments


Additional References

Include Page_SupportFooter_SupportFooter