UiPath Integrations

The UiPath Integrations Guide

Welcome to the UiPath Integrations guide. You will find comprehensive guides and documentation to help you start working with UiPath Integrations, as well as support if you get stuck.

In order to download the solutions mentioned here please visit the official UiPath Go! Marketplace here.

*Note that only integrations built in-house at UiPath are detailed below. For a complete list of UiPath's technology partners, see here.

Write Range

Overview

The Write Range activity uses the Microsoft Graph UpdateRange API
to write a range of cell data (DataTable) starting from a specific cell (Starting Cell) in a specified workbook (Workbook) worksheet (SheetName).

How it works

The following steps and message sequence diagram is an example how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.

  1. Complete the Setup steps.
  2. Add the Microsoft Office 365 Scope activity to your project.
  3. Add an activity or run an external process that outputs a DriveItem object (e.g., Find Files and Folders, Create Workbook, Copy Item).
  4. Add an activity that outputs a DataTable object (e.g.,
    Build Data Table, Generate Data Table).
  5. Add the Write Range activity inside the Microsoft Teams Scope activity.
  6. Enter values for the Input properties.
  7. Run the activity.
    • Your input property values are sent to the UpdateRange API.

Properties

The values for the following properties are specified when adding this activity to your project in UiPath Studio.

Common

DisplayName

The display name of the activity.

Attributes
Details

Type

String

Required

Yes

Default value

Write Range

Allowed values

Enter a String or String variable.

Notes

N/A


Input

DataTable

The column and row data that you want to add to the specified sheet.

Attributes
Details

Type

DataTable

Required

Yes

Default value

Empty

Allowed values

Enter a DataTable variable.

Notes


SheetName

The name of the sheet that you want to add the DataTable to.

Attributes
Details

Type

String

Required

Yes

Default value

"Sheet1"

Allowed values

Enter a String or String variable.

Notes

  • This value must match the name of an existing worksheet, otherwise an ItemNotFound error is thrown.
  • This activity doesn't create a new sheet if it can't locate the name specified in this property.

StartingCell

The cell that you want to start writing your DataTable to.

Attributes
Details

Type

String

Required

Yes

Default value

"A1"

Allowed values

Enter a String or String variable.

Notes

  • Enter the address of a single cell in A1-style notation.This property does not support a range of cells (e.g., "A1:A5").

Workbook

The workbook that contains the sheet (SheetName).

Attributes
Details

Type

DriveItem

Required

Yes

Default value

Empty

Allowed values

Enter a DriveItem variable.

Notes

  • Use the output property variable from either
    the Find Files and Folders (First or Results) or Create Workbook (Workbook) activities (see example image below).
  • When using the Results output property from the Find Files and Folders activity, be sure to specify which item in the array that you want to use (e.g., myWorkbooks(0))

Options

IncludeHeaders

If selected, the column headers from the DataTable are written as the top row. If not selected, the DataTable column headers will be ignored.

Attributes
Details

Type

Checkbox

Required

No

Default value

Selected

Allowed values

Selected or Not Selected

Notes

N/A


Misc

Private

If selected, the values of variables and arguments are no longer logged at Verbose level.

Attributes
Details

Type

Checkbox

Required

No

Default value

Not Selected

Allowed values

Selected or Not Selected

Notes

N/A


Example

The following image shows an example of the activity dependency relationship and input/output property values.

For step-by-step instructions and examples, see the Quickstart guides.

Updated 3 months ago


Write Range


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.