Changes for page Livetable Exporter Macro
Last modified by Anca Luca on 2023/01/30 00:15
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- ExtensionCode.ExtensionClass[0]
-
- Description
-
... ... @@ -1,4 +1,4 @@ 1 -Adds an export button to a livetable for exporting data in CSV, JSON or XLS. 1 +Adds an export button to a livetable generated by the [[Livetable Macro>>Extension.Livetable Macro]] for exporting data in CSV, JSON or XLS. 2 2 3 3 [[image:livetable.png]] 4 4 ... ... @@ -6,12 +6,19 @@ 6 6 7 7 == Usage == 8 8 9 +* Step 1: add a livetable to a page using the [[Livetable Macro>>Extension.Livetable Macro]]. 10 +* Step 2: add the code below to the page, and replace "livetable-id" by the identifier of the livetable to be exported, created in step 1. 11 + 9 9 {{code}} 10 -{{livetableExporter livetable="livetable- name" /}}13 +{{livetableExporter livetable="livetable-id" /}} 11 11 {{/code}} 12 12 13 - Where"livetable-name"isthename ofthelivetableto beexported.16 +If you need to let users export a livetable in different formats, you will need to call the macros several times, for instance as follows: 14 14 18 +{{code}} 19 +{{livetableExporter livetable="livetable-id" format="csv" /}} {{livetableExporter livetable="livetable-id" format="excel" /}} 20 +{{/code}} 21 + 15 15 This macro obsoletes [[Extension.LiveTableExcelExport Macro]]. 16 16 17 17 == Parameters == - Installed count
-
... ... @@ -1,1 +1,1 @@ 1 -2 21 +24