Activities
latest
false
Banner background image
Classic Integrations Activities
Last updated Apr 22, 2024

Attach File

UiPath.Smartsheet.Activities.Comments.AttachFile

Uses the Smartsheet Post an Attachment API to attach a file to a row, comment, or sheet via upload.

How it works

The following steps are an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.

  1. Complete the Setup steps.
  2. Add the Smartsheet Application Scope activity to your project.
  3. Add the Attach File activity inside the Smartsheet Application Scope activity.
  4. Create and enter values for the Input properties.
  5. Create and enter values for Output properties.
  6. Create and enter an ResponseStatus variable for the Output property.

In the Body of the Activity

  • Parent Type - The type of object to attach the file to. Select one of the following options: Sheet, Row, Comment. The list of optional input parameters will show/hide depending on the value of this property, e.g. will show only the required elements for a Sheet, Row, or Comment.
  • Sheet Id - The Id of the sheet. Enter a Int64 or Int64 variable.
  • File - Path of the file to upload. Enter a String or String variable.
  • Row Id - The Id of the Row. Enter a Int64 or Int64 variable. Either Comment Id or Row Id can be used, but not both.
  • Comment Id - The Id of the Comment. Enter a Int64 or Int64 variable. Either Comment Id or Row Id can be used, but not both.
  • Attach as new version - If you want this to be a new version of the attachment. Enter a boolean or boolean variable. This will only work with Sheets and Rows.
  • Attachment Id - The id of the attachment to update as new version. Enter a Int64 variable. This is only needed if Attach as new Version property is True.
  • Attachment - The attachment object. Enter an Attachment variable.

Properties

Common
  • DisplayName - The display name of the activity. This field supports only Strings or String variables.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Output
  • ResponseStatus - The status of the request (success/failure information). Enter a ResponseStatus variable.
  • How it works
  • In the Body of the Activity
  • Properties

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.