Some test text!

Loading...
Guides
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: Support

PDFTron live tech update & run-through: Jan 20th at 11 am PT