For the complete documentation index, see llms.txt. This page is also available as Markdown.

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 enabled by default. You can disable it by using the disableElements() method.

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

Last updated

Was this helpful?