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

Replace Text

UiPath.GSuite.Activities.ReplaceText

Description

Replaces all instances of specified text 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 replaced. Typically obtained via the Use Google Document activity. This property supports IGoogleDocTarget variables.
  • SearchFor - The exact text that you want to replace with the text specified in the ReplaceWith property. This property supports String variables and string formatted values.
  • ReplaceWith - The text that you want to add to the document. If this property is empty, the text specified in the SearchFor property is replaced with an empty string. This property supports String variables and string formatted values.
  • Match case - If selected, the search is case sensitive. This option is not selected by default.
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

  • DocumentID - The ID of the document that you want to change. This property supports String variables and string formatted values.
  • Google document - A reference to a document added in a parent Use Google Document activity.
  • ReplaceWith - See Replace with in the body of the activity.
  • SearchFor - See Search for in the body of the activity.

Misc

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

Options

  • MatchCase - See Match case in the body of the activity.
  • 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.