UiPath.CSV.Activities.AppendCsvFile
Copies data from a range or sheet to a specified CSV file. If the CSV file does not exist, it is created when the automation is executed.
In the Body of the Activity
- Append to what file - Click next to the field and then browse to and select the CSV file where to copy the data.
Alternatively, you can click on the right side of the field and then, from the menu, choose one of the available options to indicate the path of the file:- Data from an application added to a card or from the Excel Workspace. For example, select an Excel file and then select a cell that contains a file path, or indicate a field from a selected email in Outlook that contains a file path.
- Text - Enter a file path in the Text Builder. You can combine text with a formula from an Excel file cell, for example to add a date to the file name using formulas in the Excel Workspace.
- Open in Advanced Editor - Enter a VB expression.
- Data to append - Click on the right side of the field and then, from the menu, select where to copy data from:
- Select an Excel file and use the available options to choose a table, a sheet, or indicate a range in Excel.
- Use Saved Value - Copy data that you previously saved for later use in the project.
- Open in Advanced Editor - Enter a VB expression.
Properties
Common
- DisplayName - The name displayed for the activity in the Designer panel.
File
- FilePath - See Append to what file in the body of the activity.
Input
- DataTable - See Data to append in the body of the activity.
- Delimiter - Specifies the delimiter in the CSV file. It can be tab, comma(','), semicolon(';'), caret('^'), or pipe('|').
- Encoding - The encoding type to be used. You can find the complete list of codes for each character encoding here. To specify the encoding type to be used, use the value from the Name field. If no encoding type is specified, the activity will search for the file's Byte Order Marks to detect the encoding. If no Byte Order Marks are detected, the system ANSI code page is selected by default. This field supports String variables.
Misc
- Private - If selected, the data used in the activity is not logged by StudioX.
Updated 2 years ago