Create Sheet
UiPath.Smartsheet.Activities.Sheets.CreateSheet
Uses the Smartsheet Create Sheet API to create a new sheet.
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 Create Sheet 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
- Sheet Name - The name of the new sheet. Enter a
StringorStringvariable. - Columns - An array of column objects to define the sheet. Enter a
Column[]orColumn[]variable. Either the Columns or Columns from Data properties must be provided. - Columns from Data - A DataTable containing the column information. Enter a
DataTableorDataTablevariable. Either the Columns or Columns from Data properties must be provided. Columns required are primary, title, and type. - Folder Id - The Folder ID to create the new sheet in. Enter a
Int64orInt64variable. The Folder ID and Workspace ID cannot both be not null. - Workspace Id - The Workspace ID to create the new sheet in. Enter a
Int64orInt64variable. The Folder ID and Workspace ID cannot both be not null. - Sheet - The newly copied sheet object. Enter a
Sheetvariable.
ResponseStatus
The status of the request (success/failure information).
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.