AddAttachment
Adds an attachment to a SharePoint list item. Useful for linking supplementary files to SharePoint records.
Input
| Name | Type | Required | Description |
| File | String | False | The full path of the local file to be uploaded as an attachment. |
| List | String | True | The name of the SharePoint list where the attachment will be added. |
| ItemID | String | True | The unique identifier of the list item to which the attachment will be added. |
| FileName | String | False | The name of the file to be uploaded as an attachment, including the file extension (such as 'document.pdf'). This is used if 'Content' is not null. |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | Indicates whether the attachment was successfully added. Returns 'true' for success and 'false' for failure. |
| URL | String | The URL of the newly created attachment in SharePoint. |