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.

JavaScript

1WebViewer({
2 fullAPI: true,
3 // other options
4}, document.getElementById('viewer'))
5.then(() => {
6 // enable attachment panel
7 instance.UI.enableElements(['attachmentPanelButton']);
8});

Apryse Docs Image

Did you find this helpful?

Trial setup questions?

Ask experts on Discord

Need other help?

Contact Support

Pricing or product questions?

Contact Sales