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

This page shows how to use Augments when  for field manipulation or calculations when using the JSON Table macro, which is part of the Advanced Tables for Confluence add-on. In this example, we use Groovy scripting to do advanced modification or calculation field modificationculation based on the field data. This is just a simple example of the technique.

...

Reference: Using Augments with JSON Table.

Macro Browser Input

Select this Macro

Macro NameJSON Table
Macro Syntax{json-table}

Define these Parameters/Values

Body
[{a: 1495020217, b: 1495020217.0}]
Output formatwiki
Augments to data row values, "{groovy}def x='%1%'; print x.substring(0,10){groovy}"
Column typesMX~YYYY-MM-DD, MX~YYYY-MM-DD

Example Result

AB
2017-05-172017-05-17

Other Examples

Visit our full list of product examples for additional inspiration!

...