Share Object
UiPath.Smartsheet.Activities.ShareObject
Uses the Smartsheet Share Sheet API to share a sheet or sight.
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 Share Object 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
- Send Email - Whether to notify the user by email. Enter a
BooleanorBooleanvariable. - Access Level - Access Level of Share. Choose one of the following options: Admin, Editor, Editor Share, Owner, Viewer.
- Object Type - The type of object to share. Select one of these options: Sheet, Sight, Report, Workspace.
- Object Id - The Id of the object to share. Enter a
Int64orInt64variable. - Cc Me - The id of the report to send. Enter a
booleanorbooleanvariable. - Email - The individual share recipient's email address. Enter a
StringorStringvariable. Either the Email or Group Id must be specified. - Group Id - The group share recipient's group Id. Enter a
Int64orInt64variable. Either the Email or Group Id must be specified. - Message - The message in the body of the email. Enter a
StringorStringvariable. - Subject - The subject of the email. Enter a
StringorStringvariable. - Shares - The share objects created. Enter a
Share[]variable.
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.