> 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/getconfigrecordattachmentidbyfilename.md).

# getConfigRecordAttachmentIdByFileName

Returns an id of an attachment of a record in a config.

### Parameters

1. appName - the name of the config with the attachment
2. recordId - the id of the record with the attachment
3. fileName - the name of the requested attachment

### Example Usages

```javascript
   brixxApi.getConfigRecordAttachmentIdByFileName("customerOrder", 1234, "invoice.pdf");
```
