Subscribe

UiPath Activities

The UiPath Activities Guide

Add Hyperlink to Document

UiPath.Word.Activities.WordInsertHyperlink

Description

Adds a hyperlink to a document. Can only be used in the Word Application Scope activity.

Properties

Common

  • DisplayName - The display name of the activity.

Insert Options

  • Address - The address of the hyperlink.
  • Position where to insert - The position where to add the hyperlink, depening on the relative location:
    • Start
    • End
    • Before
    • After
    • Replace
  • Text to display - The text displayed in the document representing the hyperlink.
  • Text to search for - The text relative to which the hyperlink should be added.
  • Insert relative to - The location relative to which the hyperlink should be added:
    • Document
    • Text

Misc

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

Result

  • Found - Indicates if the hyperlink was successfully added to the document.

UiPath.Word.Activities.WordInsertHyperlink

Description

Adds a hyperlink to a document. This activity must be added inside a Use Word File activity.

Configuring the Activity

In the Body of the Activity

  • Text to display - The text displayed in the document representing the hyperlink. Click Plus plus button on the right side of the field, and then, from the menu, choose one of the available options to indicate the text to be displayed:
    • 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, or indicate a field from a selected email in Outlook that contains the text.
    • Ask when run - Prompt for the text when the project is executed.
    • Paste from clipboard - Paste text that you previously copied to the clipboard in the project.
    • Text - Enter the text in the Text Builder.
    • Use Saved Value - Select a value that you previously saved for later use in the project.
    • Open in Advanced Editor - Enter a VB expression.
  • Address - The address of the hyperlink. Click Plus plus button on the right side of the field, and then, from the menu, choose one of the available options to indicate the address:
    • 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 address, or indicate a field from a selected email in Outlook that contains the address.
    • Ask when run - Prompt for the address when the project is executed.
    • Paste from clipboard - Paste an address that you previously copied to the clipboard in the project.
    • Text - Enter the address in the Text Builder.
    • Use Saved Value - Select a value that you previously saved for later use in the project.
    • Open in Advanced Editor - Enter a VB expression.
  • Insert relative to - Select whether the hyperlink should be added relative to the doocument or to a piece of text.
  • Position where to insert - The position where the hyperlink should be added. Depending on what you selected in the Insert relative to field, the following placement options are available:
    • Document:
      • Start
      • End
    • Text:
      • Before
      • After
      • Replace
  • Text to search for - The text relative to which the hyperlink should be added. Click Plus plus button on the right side of the field, and then, from the menu, choose one of the available options to indicate the text to be displayed:
    • 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, or indicate a field from a selected email in Outlook that contains the text.
    • Ask when run - Prompt for the text when the project is executed.
    • Paste from clipboard - Paste text that you previously copied to the clipboard in the project.
    • Text - Enter the text in the Text Builder.
    • Use Saved Value - Select a value that you previously saved for later use in the project.
    • Open in Advanced Editor - Enter a VB expression.

In the Properties Panel

Common

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

Insert Options

Misc

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

Result

  • Found - Indicates if the hyperlink was successfully added to the document.

Updated 4 months ago


Add Hyperlink to Document


Suggested Edits are limited on API Reference Pages

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