Attachments
Add, delete and list
Last updated
Was this helpful?
Add, delete and list
Last updated
Was this helpful?
Was this helpful?
Upload a file as an attachment to task item.
Parameter
Description
Custom List app name
Name of Custom List app in SharePoint (not id)
Item ID
ID of item
Remote filename
Remote filename
Source bytes
Table (consisting of bytes) to read from
Record with information about whether operation failed or not.
Member
Description
HasFailed
Whether operation has failed or not
ErrorMessage
A description of the failure, if any
ErrorCode
An error code related to operation failure. Is 0 if no failure occured
Error code
Description
1000
Unspecified error.
1000001
User is not authorized to perform operation.
1000004
Item with given id does not exist.
Upload a file as an attachment to task item.
Parameter
Description
Custom List app name
Name of Custom List app in SharePoint (not id)
Item ID
ID of item
Remote filename
Remote filename
Local filename
Full path to file to upload. Note that the user the application pool running Flow Server must have access to the file.
Record with information about whether operation failed or not.
Member
Description
HasFailed
Whether operation has failed or not
ErrorMessage
A description of the failure, if any
ErrorCode
An error code related to operation failure. Is 0 if no failure occured
Error code
Description
1000
Unspecified error.
1000001
User is not authorized to perform operation.
1000004
Item with given id does not exist.
Upload a file as an attachment to task item.
Parameter
Description
Custom List app name
Name of Custom List app in SharePoint (not id)
Item ID
ID of item
Filename
Remote filename
Source stream
Simple variable containg a stream
Record with information about whether operation failed or not.
Member
Description
HasFailed
Whether operation has failed or not
ErrorMessage
A description of the failure, if any
ErrorCode
An error code related to operation failure. Is 0 if no failure occured
Error code
Description
1000
Unspecified error.
1000001
User is not authorized to perform operation.
1000004
Item with given id does not exist.
Delete all attachments on provided task item.
Parameter
Description
Custom List app name
Name of Custom List app in SharePoint (not id)
Item ID
ID of item
Filename
Remote filename
Record with information about whether operation failed or not.
Member
Description
HasFailed
Whether operation has failed or not
ErrorMessage
A description of the failure, if any
ErrorCode
An error code related to operation failure. Is 0 if no failure occured
Error code
Description
1000
Unspecified error.
1000001
User is not authorized to perform operation.
1000004
Item with given id does not exist.
Delete all attachments on provided task item.
Parameter
Description
Custom List app name
Name of Custom List app in SharePoint (not id)
Item ID
ID of item
Filename
Remote filename
Record with information about whether operation failed or not.
Member
Description
HasFailed
Whether operation has failed or not
ErrorMessage
A description of the failure, if any
ErrorCode
An error code related to operation failure. Is 0 if no failure occured
Error code
Description
1000
Unspecified error.
1000001
User is not authorized to perform operation.
1000004
Item with given id does not exist.
Lists all files attached to specified item.
Parameter
Description
Custom List app name
Name of Custom List app in SharePoint (not id)
Item ID
ID of item
Record with information about whether operation failed or not. If succesful, result of operation is stored in Results member
Member
Description
HasFailed
Whether operation has failed or not
ErrorMessage
A description of the failure, if any
ErrorCode
An error code related to operation failure. Is 0 if no failure occured
Results
Table variable containing the results of operation
Structure of Results Results
Filename
ServerRelativeUrl
Error code
Description
1000
Unspecified error.
1000001
User is not authorized to perform operation.
1000004
Item with given id does not exist.