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

# showAttachments

opens the attachment sidebar with the attachment for the current record.

### Parameters

show - open(true = default) or closes(false) the attachment sidebar. You don't have to worry if it is opend or closed before, but show will also refresh an open attachment.

### Example Usages

```javascript
   brixxApi.showAttachments(); //open the sidebar
```

```javascript
   brixxApi.showAttachments(true); //open the sidebar
```

```javascript
   brixxApi.showAttachments(false); //closes the sidebar
```
