Versions Compared

Key

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

...

This page demonstrates how to use the Table Plus macro, which is part of the Advanced Tables for Confluence app, 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 are given 2 icons that can be clicked to download or export the current table view to a CSV file. Download places the file on the user local system and export creates an attachment. 

Tip
titleAvailable with version 7.2.0 on Server only

 See Release Notes 7.2.


Section


Column

Screenshot


Column

Message


...

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

...

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

Select this macro

...

CSV Table settings > Data settings > Output formatwiki
Row settings > Header & footer rows > Number of header rows1

CSV Table settings > Data format > Augments to data row values

, , !%3%!

CSV Table settings > Data format Augments > Augments to footing footer row values

, , Total

CSV Table settings > Data source > Method of locating JSON data (Attachment) > Attachment

Product Revenue.csv

Column settings > Formatting > Column type (1

2

3

4)

I

S

E

C

Other examples

Visit our full list of product examples for additional inspiration!