Skip to main content

Replace Bookmarks

Description

This Activity replaces the bookmarks in a Word document with specified values.

Properties

Input

  • Bookmarks- List of existing bookmarks along with the text to be replaced. This Activity provides a multi-assignment UI for easier usage. It allows you to select an existing bookmark in LHS, and you can provide the text value to be replaced for this bookmark as part of RHS.
note
  • The existing bookmarks will be listed based on the design-time template specified in Word Context activity.

  • If duplicate bookmarks exist in the document, we set the value to the first bookmark encountered.

Misc

  • DisplayName – Add a display name to your Activity.
  • Private – By default, Activity will log the values of your properties inside your workflow. If private is selected, then it stops logging.

Optional

  • Continue On Error – It Specifies whether the automation should continue even when the Activity throws an error. If True, the Activity continues without throwing any exceptions. If False, the Activity throws an exception. The default value is False.
    note

    Catches no error if this Activity is present inside the Try-Catch block and the value of this property is True.

Example

Download Example

Read Text