Set row values Version 4 (Net)
Action group: Tables
Description
This action is used to set values in the specified row of the table.
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Data table | Table for which the action will be performed. | Robin.DataTable | Yes | |
Row index | Index of the string to set the values to. If there were already values in the line, they will be overwritten. If the index is greater than the existing one, the row will be added. Indexing starts at 0. | Robin.Numeric | Yes | |
Values | The values to be written to the selected row. | Robin.Collection | Yes |
Special conditions of use
None.
Example of use
Task
There is a table in CSV format
.
It is necessary to change the values of line 2 to
The Turn of the Screw | Henry James | trade paperback | 384 | $3.35 |
and create a new table with the updated data.
Solution
Use "Get table from CSV", "Set row values", "Table to CSV" actions.
Implementation
- Assemble a robot consisting of actions:
- Set the parameters for the "Get table from CSV" action.
- Set the parameters for the "Set row values" action.
- Set the parameters for the "Table to CSV" action.
- Click "Start" in the top panel.
Result
The program robot completed successfully.
The required values of line 2 have been changed.
Обзор
Инструменты контента