Portfolio Showcase Demo Code Sample
Easily add support for PDF Portfolios (also known as PDF Packages), allowing users to view and edit each embedded file in its own dynamically generated tab. Attachments can be edited or downloaded individually. The viewer supports a wide range of file types within these portfolios, from Office documents to image formats.
This demo allows you to:
Load a default PDF portfolio document with a set of attachments:
blank.pdf
demo-annotated.pdf
memo.docx
rendering.jpg
Access options to view each attachment in its own tab (use "more options"
...button on the right margin of the attachment).Edit each document and download separately.
Load your own PDF portfolio to test the capabilities.
Implementation steps To add PDF portfolio support with WebViewer:
Step 1: Choose your preferred web stack. Step 2: Add the ES6 JavaScript sample code provided in this guide.
Once you generate your license key, it will automatically be included in your sample code below.