Append CSV File

Version 4.1 by Giang Tran on 2022/05/13 13:59
Warning: For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

RCA.Activities.CSV.AppendCSVFile

Description

This activity allows you to append the specific DataTable to a CSV file, creating the file if it does not already exist.

image-20220505104655-1.jpeg

(* is mandatory)

In the body of activity

  • File path (String) - You can add the file path of the CSV here. String supported only.
  • Data Table (DataTable) - The data table you want to append.

Properties

File

  • File Path (String)* - The file path of the CSV file
    E.g: “C:\CSVFolder\clientList.csv”

Input

  • Data Table (DataTable)* - Specifies the DataTable to be appended to the CSV file. The value needs to be a variable in DataTable type.

Misc

  • Public (CheckBox) - If you check it, the data of this activity will be shown in the log. Be careful, consider data security before using it.
  • Display Name (String) - The name of this activity. You can edit the name of the activity to organize and structure your code better.
    E.g: Append CSV

Options

  • Delimiter (DropDownList) - Specifies the delimiter in the CSV file. The options are: Tab, Comma, Semicolon
  • Encoding (String) - The type of encoding you want to use. To specified the encoding type to be used, used the value from the Name field. Strings variables only.
    E.g: “utf-8”

Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [xwiki:Activities.CSV Activities.Activities.Append CSV File.WebHome]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.

Created by Giang Tran on 2022/05/05 03:46
  
Navigation