Skip to content

ExportCSVTool

Carlo Barazzetta edited this page Jan 27, 2017 · 1 revision

Export CSV Tool controller

This is a specific DownloadFile Tool controller that builds a CSV text file using the data actually visible in the Panel based controller, and send it to the client browser. It's possibile to specify some parameters to format the output.

Here's an example:

# Export a text file with fixed column length.
    ToolViews:
      DownloadCSV:
        DisplayLabel: Download in CSV
        ImageName: download
        Controller: ExportCSVTool
          RequireSelection: False
Clone this wiki locally