List Attachments
UiPath.Smartsheet.Activities.Attachment.ListAttachments
Uses the Smartsheet List Attachments API to get a list of attachments for a sheet, row, or discussion.
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 List Attachments 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
- SheetId - The Id of the sheet. Enter a
Int64orInt64variable. - RowId - The Id of the row. Enter a
Int64orInt64variable. Either Row ID or Discussion ID may have a value, but not both. - DiscussionId - The Id of the discussion. Enter a
Int64orInt64variable. Either Row ID or Discussion ID may have a value, but not both. - Include All - If you want to include all records. Enter a
booleanorbooleanvariable. If true, include all results, that is, do not paginate. - Page - Which page to return. Enter a
Int32orInt32variable. Defaults to 1 if not specified. If you specify a value greater than the total number of pages, the last page of results is returned. - Page Size - The maximum number of items to return per page. Enter a
Int32orInt32variable. Unless otherwise stated for a specific endpoint, defaults to 100. - Attachments - The attachments to return. This field supports only
Attachment[]variables. - Page Info - This field supports only
PageInfovariables.
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.