Some test text!

Search
Hamburger Icon

Web / FAQ / Enable file attachment list

Enable File Attachment List

There are two types of attachments that can be found within a PDF file:

  • Embedded file attachments (not annotations)
  • File attachment annotations
The full API is needed to show embedded files. If you want to use the full API, refer to this guide

In the WebViewer UI the file attachment panel is disabled by default. You can enable it by using enableElements.

WebViewer({
  fullAPI: true,
  // other options
}, document.getElementById('viewer'))
.then(() => {
  // enable attachment panel
  instance.UI.enableElements(['attachmentPanelButton']);
});

File attachment panel

Get the answers you need: Chat with us