Creates a new attachment for the current instance. Creates a new attachment with the given contents, name and description For example: binaryB = BinaryFile.readToBinaryFrom(name : "C:/tmp/attachexample.txt") create Attachment using contents = binaryB, name = "attachexample.txt", description = "This file was in /tmp"
| 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 |