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

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
Data tableTable for which the action will be performed.Robin.DataTable
Yes
ValuesThe values to be added.Robin.Collection
Yes
ResizeAllow rows to be added to the table depending on the number of values passed.Robin.BooleantrueNo

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

  1. Assemble a robot scheme consisting of actions:

  2. Set the parameters for the ""Get table from CSV" action.

  3. Set the parameters for the "Add column" action. A collection with target values should be added to the "Values" field. 
  4. Set the parameters for the "Table to CSV" action. 
  5. 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.


  • Нет меток