> For the complete documentation index, see [llms.txt](https://brixxbox.gitbook.io/brixxbox-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://brixxbox.gitbook.io/brixxbox-documentation/client-api-reference/functions/getattachmentbyfilename.md).

# 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

```javascript
   brixxApi.getAttachmentByFileName("Invoice1.pdf")
```
