Allow Export of Table View

On this page


This page demonstrates how to use the Table Plus macro, which is part of the Advanced Tables for Confluence add-on, to provide view users an option to downloading or exporting (as an attachment) a CSV representation of the table view. By specifying the Allow export parameter on the macro, users will be given 2 icons that can be clicked to download or export the current table view to a CSV file. Download will place the file on the user local system. Export will create an attachment. 

Available with version 7.2.0 on Server only



Macro Browser Input

Select this Macro

Macro NameTable Plus
Macro Syntax{table-plus}

Define these Parameters/Values

Allow exportselected
Table idProduct Revenue

Auto number on each row


Auto total row


Sort descending


Auto sort column


Column types



Wiki Markup Input

{table-plus:allowExport=true|id=Product Revenue|autoNumber=true|autoTotal=true|sortDescending=true|sortColumn=3|columnTypes=S,E,FF"$0,0"}
|| Product || On Plan || Revenue ||
| A | (/) | 325100 |
| D | (/) | 315850 |
| C | (x) | 250420 |
| B | (/) | 98650  |
| E | (x) | 79010  |

Exported CSV

The attachment Product Revenue.csv exported above, can be imported back to a Confluence page using the CSV Macro. This could be used for showing snapshots of tables that have been archived for a historical view. The following is like CSV macros with the attachment on this page.

As Text

Product Revenue.csv
"","Product","On Plan","Revenue"

With CSV Macro As Is

With CSV Macro With A Few Parameters To Make It Look More Like the Original

The following parameters were used in the CSV macro shown above:

Select this Macro

Macro NameCSV
Macro Syntax{csv}

Define these Parameters/Values

Output formatwiki
Footing rows1

Augments to data row values

, , !%3%!

Augments to footing row values

, , Total

Location of data

^Product Revenue.csv

Column types


Other Examples

Visit our full list of product examples for additional inspiration!