Add column Version 5 (Net)
Action group: Tables
Description
This action is to add a column to the end of the table.
Action icon
Settings
Property | Description | Type | Filling example | Mandatory field |
---|---|---|---|---|
Parameters | ||||
Data table | Table for which the action will be performed. | Robin.DataTable | Yes | |
Values | The values to be added. | Robin.Collection | Yes | |
Resize | Allow rows to be added to the table depending on the number of values passed. | Robin.Boolean | true | No |
Special conditions of use
If you add a column with values outside the range used, an error will be displayed. If you add values within the used range, no error will occur.
Example of use
Task
There is a table in CSV format.
You need to add a Grade column and save the table as a new document named NEW.
Solution
Use the actions "Get table from CSV", "Add column", "Table to CSV".
Implementation
- Assemble a robot scheme consisting of actions:
- Set the parameters for the ""Get table from CSV" action.
- Set the parameters for the "Add column" action. A collection with target values should be added to the "Values" field.
- Set the parameters for the "Table to CSV" action.
- Click on the "Start" button in the top panel.
Result
The program robot completed successfully.
A new document is created with a column added to it.
Обзор
Инструменты контента