AddImage
Uploads an image to a SharePoint list item. Essential for embedding visual content in SharePoint records.
Input
| Name | Type | Required | Description |
| ListName | String | True | The display name of the SharePoint list where the image will be added. Helps identify the target list. |
| ItemId | String | True | The unique identifier of the list item to which the image will be attached. Ensures the image is linked to the correct item. |
| ColumnInternalName | String | True | The internal name of the column where the image will be stored. Useful for identifying the correct field in the list schema. |
| FileName | String | True | The name of the image file being uploaded. Helps track and manage attached images. |
| InputFilePath | String | False | The full file path of the image to be uploaded. Required unless providing the image content directly. |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | Indicates whether the image upload operation was successful. Returns 'true' for success and 'false' for failure. |
| ErrorCode | Integer | If the procedure fails, this field displays the corresponding error code. Useful for debugging and troubleshooting. |
| ErrorMessage | String | If the procedure fails, this field provides a detailed error message explaining the failure. Helps diagnose upload issues. |