getAttachmentByFileName
Retrieves the blob of an attachment from the attachments of the current record
Parameters
fileName - the file name you are looking for
Example Usages
Return Values
The function getAttachmentByFileName(fileName) calls the function getAttatchmentBlobForCurrentRecordByFileName(this, fileName) internally. This function then returns either a blob object or null, depending on on the outcome of the HTTP request. If the attachment is found (HTTP status 200), the function returns the content of the response as a Blob object.
Last updated
Was this helpful?