# List Attachments

> `UiPath.Smartsheet.Activities.Attachment.ListAttachments`

`UiPath.Smartsheet.Activities.Attachment.ListAttachments`

Uses the Smartsheet [List Attachments](https://smartsheet-platform.github.io/api-docs/?csharp#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.

1. Complete the [Setup](https://docs.uipath.com/activities/other/latest/legacy-integrations/smartsheet-setup) steps.
2. Add the [Smartsheet Application Scope](https://docs.uipath.com/activities/other/latest/legacy-integrations/smartsheet-scope) activity to your project.
3. Add the **List Attachments** activity inside the **Smartsheet Application Scope** activity.
4. Create and enter values for the [Input](https://docs.uipath.com/activities/other/latest/legacy-integrations/smartsheet-list-attachments#list-attachments) properties.
5. Create and enter values for [Output](https://docs.uipath.com/activities/other/latest/legacy-integrations/smartsheet-list-attachments#list-attachments) properties.
6. Create and enter an `ResponseStatus` variable for the [Output](https://docs.uipath.com/activities/other/latest/legacy-integrations/smartsheet-list-attachments#list-attachments) property.

## In the Body of the Activity

* **SheetId** - The Id of the sheet. Enter a `Int64` or `Int64` variable.
* **RowId** - The Id of the row. Enter a `Int64` or `Int64` variable. Either Row ID or Discussion ID may have a value, but not both.
* **DiscussionId** - The Id of the discussion. Enter a `Int64` or `Int64` variable. Either Row ID or Discussion ID may have a value, but not both.
* **Include All** - If you want to include all records. Enter a `boolean` or `boolean` variable. If true, include all results, that is, do not paginate.
* **Page** - Which page to return. Enter a `Int32` or `Int32` variable. 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 `Int32` or `Int32` variable. 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 `PageInfo` variables.

## 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.
