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

Upcoming Webinar: SDK Features Preview and Live Run-Through | July 14, 2022 at 11 am PT

PDFTron SDK

The Platform

NEW

© 2022 PDFTron Systems Inc. All rights reserved.

Privacy

Terms of Use