Embed PDF API - Load a different PDF File

New Here ,
Feb 25, 2021 Feb 25, 2021

Copy link to clipboard

Copied

Hi all,

 

I'm struggling to find an answer/solution to this so I'm starting a new thread.


Can I load a different PDF into an existing AdobeDC.View?
I have a list of PDF on a site and one instance of AdobeDC.View. When the PDF link is clicked I want to open that PDF in AdobeDC.View?

 

Is this possible?

 

Thanks.

V

TOPICS
PDF Embed API

Views

66

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 25, 2021 Feb 25, 2021

Copy link to clipboard

Copied

LATEST

No. It is not possible. However, you can simply set the AdobeDC.View Object to null then display a new PDF inside the same element. I have a working example of this behavior at this CodePen.  

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

Make content for your business needs with Adobe Express.

Get started easily with free templates: