Subscribe

UiPath Activities

The UiPath Activities Guide

Replace Text in Presentation

UiPath.Presentation.Activities.FindAndReplaceTextInPresentation

Replaces all occurrences of a text within a presentation with another text.

Properties

Common

  • DisplayName - The name displayed for the activity in the Designer panel.

Input

  • Find what - Text to be replaced. Only String variables and strings are supported. Alternatively, in StudioX, click Plus plus buttonplus button on the right side of the field, and then select one of the options from the menu:
    • Notebook - Use a value from a Notebook to find the target text (such as data from a cell).
    • Ask when run - Prompt for the name when the project is executed.
    • Paste from clipboard - Paste a value that you previously copied to the clipboard in the project..
    • Text - Enter the name in the Text Builder.
    • Open in Advanced Editor - Enter a VB expression.
  • Presentation - Presentation in which to replace the text. In StudioX, click Plus plus buttonplus button on the right side of the field, and then select the presentation file in which to replace text. Alternatively, you enter a VB expression.
  • Replace with - The text to replace with. Only String variables and strings are supported. Alternatively, in StudioX, click Plus plus buttonplus button on the right side of the field, and then select one of the options from the menu:
    • Notebook - Use a value from a Notebook to replace the target text (such as data from a cell).
    • Ask when run - Prompt for the name when the project is executed.
    • Paste from clipboard - Paste a value that you previously copied to the clipboard in the project..
    • Text - Enter the name in the Text Builder.
    • Open in Advanced Editor - Enter a VB expression.
  • Whole words only - Indicates whether to replace only entire words, not text that is part of a larger word.

Misc

  • Private - If selected, the data used in the activity is not logged by Studio or StudioX.

Output

  • Number of replacements - The number of replacements made. Alternatively, in StudioX, click Plus plus buttonplus button on the right side of the field, and then select one of the options from the menu:
    • Notebook - Saves the value in a Notebook (such as data inside a cell).
    • Copy to clipboard - Saves the returned value to clipboard.
    • Save for Later Use - Prompts to provide a name to save the value. The name can be changed afterwards.
    • Open in Advanced Editor - Enter a VB expression.

Updated about a month ago


Replace Text in Presentation


Suggested Edits are limited on API Reference Pages

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