activities
latest
false
UiPath logo, featuring letters U and I in white
Productivity Activities
Last updated Nov 21, 2024

Insert Text

UiPath.GSuite.Activities.InsertText

Description

Inserts text at a specified location in the body of a Google document.

Scopes

This activity requires the following scopes:

  • https://www.googleapis.com/auth/drive.file

OR

  • https://www.googleapis.com/auth/documents

OR

  • https://www.googleapis.com/auth/drive

Project compatibility

Windows - Legacy | Windows

Configuration

In the Body of the Activity
  • Document - A reference to a Google Document in which the text will be added. Typically obtained via the Use Google Document activity. This property supports IGoogleDocTarget variables.
  • Text to insert - The text to insert in the document. This property supports String variables and string formatted values.
  • Add at - Select where to insert the text in the document. The available options are:

    • Beginning - Inserts the text at the beginning of the document.
    • End - Inserts the text at the end of the document.
    • Index - Inserts the text at the location specified in the Index property. You can configure this property in the Properties panel.
Properties Panel
Common
  • ContinueOnError - If set, the remaining activities are executed if the current activity fails. This field supports Boolean values.
  • DisplayName - The display name of the activity. This property supports String variables and string formatted values.

Input

  • Document - See Document in the body of the activity.
  • DocumentID - The ID of the document that you want to change. This property supports String variables and string formatted values. When entering your value, use the exact Document ID, or the output property variable from a previous Get Document or Create Document activity.
  • Index - A zero-based index that represents the location where you want to insert text. This property supports Int32 variables or Int32 values (UTF-16 code unit). Use this property only when your Position property value is AT\_INDEX.
  • Position - A drop-down selection that specifies the position of the text you want to insert. For more information about inserting text and indexes, see Inserting text and Start and end indexes in the Google Docs API documentation. The available property values are:

    • START - inserts text at the beginning of the document.
    • END - inserts text at the end of the document.
    • AT\_INDEX - inserts text at the location specified in the Index property.
  • Text - The text that you want to insert. This property supports String variables and string formatted values.

Misc

  • IsInsideBatchUpdateScope - If selected, indicates the activity is added inside a Batch Document Updates activity.
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level. This field supports Boolean values.
  • Description
  • Project compatibility
  • Configuration

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.