Attachment.commit(contents,remarks,participant)

Commits an attachment. The attachment must have been previously edited by the participant. If successful, this will always generate a new attachment version. The attachment will be unlocked. For example: binaryB = BinaryFile.readToBinaryFrom(name : "C:/tmp/attachexample.txt") commit attachment using contents = content, remarks = "Second version of the document." participant = participant

Arguments:

Name Type Description Mode
contents Binary attachment data. in
remarks String attachment comment. in
participant Fuego.Lib.Participant in