---
description: Shows a blob document in a docViewer control.
---

# showBlob

## Parameters

1. controlId - The id of a "docViewer" control
2. blobData - The blob data.

## Example Usages

```javascript
let myBlob = app.getAttachmentByFileName("Invoice1.pdf");
app.showBlob("myDocViewer", myBlob);
```

### Return Values

Function does not explicitly produce return value.
