Creates a new attachment for the current instance. Creates a new attachment with the given contents, name, description and remarks For example: binaryB = BinaryFile.readToBinaryFrom(name : "C:/tmp/attachexample.txt") create Attachment using contents = binaryB, name = "attachexample.txt", description = "This file was in /tmp", remarks = "Remark: this attachment was attached automatically"
| Name | Type | Description | Mode |
|---|---|---|---|
| contents | Binary | attachment data. | in |
| name | String | name of the file for the attachment. | in |
| description | String | display name for the attachment. | in |
| remarks | String | attachment comment. | in |