SharePoint Online - Delete Item
Overview
The SharePoint Online - Delete Item Snap

- This is a Write-type Snap.
Works in Ultra Tasks. However, we recommend that you do not use this Snap in an Ultra Pipeline.
Prerequisites
- Valid SharePoint Online tenant and associated site.
- Valid Azure application with all the required API permissions.
Snap views
| Type | Description | Examples of upstream and downstream Snaps |
|---|---|---|
| Input |
This Snap has at most one document input view. An input document contains the data that needs to be deleted. |
|
| Output |
This Snap has exactly one document output view. An output document contains the response after the delete operation. |
|
| Learn more about Error handling. | ||
Snap settings
Note: Learn about
the common controls in the Snap settings dialog.
| Field/Field set | Description |
|---|---|
Label*
String |
Specify a unique name for the Snap. Modify this to be more appropriate, especially if more than one of the same Snaps is in the pipeline. Default value: SharePoint Online - Delete Item Example: SharePoint Online - Delete Item |
Site*
String/Expression |
Specify the name of a site which contains the list of document library to be used in the subsequent Snap settings.
Default value: N/A Example: MySite |
Custom Site Path
Checkbox |
Enable this option if your site URL contains a custom path that deviates from the default site URL. The default site path always has the prefix 'site/' before the sitename. A custom site can contain the prefix 'team/' or it can have no prefix.
Default value: Deselected |
Document Library*
String/Expression |
Specify a drive representing the top-level container for a file system, such as OneDrive or SharePoint document libraries. This field is populated dynamically from different sites from the suggestion drop-down list. You can either choose a document library from the suggestion drop-down list or enter the entity name manually.
Note: If you enable the Site property as an expression, then the document library is not suggested, resulting in an exception.
Default value: N/A Example: Shared Documents |
Source item Relative Path*
String/Expression |
Specify the item resource path that represents a file, folder, or other item stored in a document library.
Note: The Snap deletes the folder even if the folder is not empty.
Default value: N/A Example: testFile.pdf |
| Connection details | Use this field set to specify connection properties to the SharePoint Online APIs. |
Connection Timeout*
Integer |
Specify the connection timeout duration in seconds.
Default value: 30 Example: 40 |
Number of Retries*
Integer |
Specify the maximum number of reconnections in case of a connection failure or timeout.
Default value: 0 Example: 5 |
Retry Interval (seconds)*
Integer |
Specify the time interval in seconds between connection attempts.
Default value: 1 Example: 11 |
Snap execution
Dropdown list |
Choose one of the three modes in
which the Snap executes. Available options are:
|
Troubleshooting
| Error | Cause | Resolution |
|---|---|---|
| The input entity does not exist. | An invalid entity has been entered. | Click the suggestion drop-down button and select the entity. |