getAttachment

Description

Retrieve an attachment and store it to a temporary file. The name of the temporary file is returned.

Usage

getAttachment(formId, recordId, fieldId, blobId)

Arguments

Argument Description
formId a form id
recordId the record Id
fieldId the attachment field id
blobId the attachment blob id

See also

Other record functions: addRecord , deleteRecord , getRecordHistory , getRecord , recoverRecord , updateRecord

Next item
getDatabaseResources