UiPath Activities

The UiPath Activities Guide

Set Bookmark Content

UiPath.Word.Activities.WordSetBookmarkContent

Description

Adds text at a specified bookmark location in a Word document. Can only be used in the Word Application Scope activity.

Properties

Note:

Strings must be placed between quotation marks.

Input

  • Bookmark name - The name of an existing bookmark where the text is to be written. Only String variables and strings are supported.

  • Bookmark text - The text to be written at the specified bookmark. Only String variables and strings are supported.

Common

  • DisplayName - The display name of the activity.

Misc

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

UiPath.Word.Activities.WordSetBookmarkContent

Description

Adds text at a specified bookmark location in a Word document. This activity must be added inside a Use Word File activity.

To learn how to use this activity, see Tutorial: Working with Word Automation.

Configuring the Activity

In the Body of the Activity

  • Bookmark name - Click Plus plus button on the right side of the field, and then, from the menu, select Text to enter the name of the bookmark where to add text in the Text Builder. Alternatively, choose one of the other available options in menu to indicate the bookmark name:
    • Data from the Project Notebook, a parent Excel file or Outlook account. For example, select an Excel file, and then select a cell that contains the bookmark name, or indicate a field from a selected email in Outlook that contains the name.
    • Use Saved Value - Select a value that you previously saved for later use in the project.
    • Ask when run - Prompt for the bookmark name when the project is executed.
    • Open in Advanced Editor - Enter a VB expression.
  • Bookmark text - Click Plus plus button on the right side of the field, and then, from the menu, select Text to enter the text to add at the bookmark location in the Text Builder. Alternatively, choose one of the other available options in menu to indicate the text:
    • Data from the Project Notebook, a parent Excel file or Outlook account. For example, select an Excel file, and then select a cell that contains the text to add, or indicate a field from a selected email in Outlook that contains the text.
    • Use Saved Value - Select a value that you previously saved for later use in the project.
    • Ask when run - Prompt for the text to add when the project is executed.
    • Open in Advanced Editor - Enter a VB expression.

In the Properties Panel

Common

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

Input

Misc

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

Updated 5 months ago


Set Bookmark Content


Suggested Edits are limited on API Reference Pages

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