What it does

Applies for associating binary data or files with workspace items. Attachments are passed when sending batch to FlexiCapture Server. When sending batch to folder or FTP folder, attachments are placed to the folder storing the batch and corresponding entries are added to XML description file.

Definition Description
Has (name: string): bool Checks whether the attachments array contains an attachment with the specified name
AddNew (name: string) : IAttachmentByteArray Adds a new attachment with the specified name
AddFromFile (name: string, path: string) Adds a new attachment with the specified from the specified path
SaveToFile (name: string, path: string) Saves the attachment with a specified name to a specified path
Delete (name: string) Deletes the attachment file with the specified name
DeleteAll ( ) Deletes all attachments
Name Type Access Description
Names VARIANT Read-only The array of attachments names
IsEmpty bool Read-only Specifies whether the array of user attachments is empty
ByteArray (name: string) IAttachmentByteArray Read-only Retrieves binary data of the attachment by its name

1/14/2021 2:17:19 PM

Please leave your feedback about this article