История страницы
Delete row Version 3 (Net)
Action group: Google services
...
Description
The action deletes the specified row with upward shift.
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Context | Indentifier of session for action | Robin.SpreadShee ts | SpreadSheets context | Yes |
Document ID | Indentifier of document for action | Robin.String | Yes | |
Sheet | Name of working sheet. By default, the first sheet of the document. | Robin.String | No | |
Row index | Index of row to delete | Robin.Numeric | Yes |
Special conditions of use
The Google Sheets API has a limit of up to 60 read-requests per user per minute. To ensure that the action does not immediately generate an error when the limit on the number of requests is reached, the action includes a loop operation that will resend requests within a minute.
- If the request is completed in that time, the action will complete successfully.
- If the request cannot be sent in this time, the robot will terminate with an error.
Example of use
Task
There is a Google spreadsheet:
Delete row "4".
Solution
Use the
Удалить строку
Группа действий: Сервисы Google
Описание
Удаляет заданную строку со сдвигом вверх.
Иконка
Настройки
Свойство | Англ. наименование | Описание | Тип | Пример заполнения | Обязательность заполнения поля |
---|---|---|---|---|---|
Параметры | |||||
Контекст | Context | Идентификатор сеанса, к которому будет применено действие. | GoogleTablesInstance | Да | |
ID документа | Document ID | Идентификатор документа, к которому необходимо применить действие. | Строка | 12Q3VXVkv-6Y2IMH | Да |
Лист | Sheet | Наименование рабочего листа. По умолчанию первый лист документа. | Строка | Лист1 | Нет |
Индекс строки | Row index | Индекс строки, которая будет удалена. Индексация начинается с 1. | Число | 3 | Да |
Особые условия использования
Отсутствуют.
Пример использования
Задача: существует Google таблица
Необходимо удалить строку 4 .
Решение: воспользоваться действиями "Context Google tables", "Delete row" actions.
Реализация:
Implementation
- Assemble a robot scheme with the actionsСобрать следующую схему робота, состоящую из действий:
- Set the "Context Google tables" action parameters.Настроить параметры для действия "Настройки подключения":
Заполнить поля "Путь к файлу" и "Имя проекта" (подробнее о заполнении данных полей в ИНСТРУКЦИЯ ПО НАСТРОЙКЕ ПОДКЛЮЧЕНИЯ к Fill in the "The file path" and "Application name" fields (more about filling in these fields in section Instructions for setting up a connection to Google Sheets/Docs/Drive). - Set the "Delete row" action parameters.Настроить параметры для действия "Удалить строку":
В поле "ID документа" указать часть ссылки таблицыIn the ID field specify the part of the table's link.
Запустить робота, нажав на кнопку "Старт" в верхней панели.
Результат:
Программный робот отработал успешно.
- Click "Start" in the top panel to start the robot.
Result
The program robot completed successfully.
The desired row is deleted.Требуемая строка удалена.