Attach URL
UiPath.Smartsheet.Activities.Comments.AttachURL
Uses the Smartsheet Attach URL to Comment API to attach a file to a row, comment, or sheet via URL.
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.
- Complete the Setup steps.
- Add the Smartsheet Application Scope activity to your project.
- Add the Attach URL activity inside the Smartsheet Application Scope activity.
- Create and enter values for the Input properties.
- Create and enter values for Output properties.
- Create and enter an
ResponseStatusvariable 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: Sheet, Row, Comment.
- SheetId - The Id of the sheet. Enter a
Int64orInt64variable. - URL - URL to attach. Enter a
StringorStringvariable. - RowId - The Id of the Row. Enter a
Int64orInt64variable. Either Comment Id or Row Id can be used, but not both. - CommentId - The Id of the Comment. Enter a
Int64orInt64variable. Either Comment Id or Row Id can be used, but not both. - Attachment Type - The type of attachment. Select one of the following options: BOX_COM, DROPBOX*, EGNYTE*, EVERNOTE*, FILE, GOOGLE_DRIVE, LINK, or ONEDRIVE. 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.
- Name - Attachment name. Enter a
StringorStringvariable. - Description - Attachment description. Enter a
StringorStringvariable. Applicable when attaching to sheet or row only. - Attachment - The id of the attachment. Enter a
Attachmentvariable.
Properties
Common
- DisplayName - The display name of the activity. This field supports only
StringsorStringvariables.
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
ResponseStatusvariable.