• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

PDF Embed API: Multiple embeds on the same page

New Here ,
Apr 12, 2021 Apr 12, 2021

Copy link to clipboard

Copied

Hi!

 

I'm using the PDF Embed API with React. And it's working perfectly when I only have embed on the page. But when I try to add another one on the page I get this error in my network tab.

Tech5EDE_0-1618248939805.png

I'm using the Full Window mode if that helps.

Are there any suggested ways I can solve this issue? 

 

Thank you in advance,

TOPICS
PDF Embed API , PDF Services API

Views

579

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

correct answers 1 Correct answer

Community Expert , Apr 12, 2021 Apr 12, 2021

You'll need to use two different variables for the DC View object and then it will work.

Likes

Translate

Translate
New Here ,
Apr 12, 2021 Apr 12, 2021

Copy link to clipboard

Copied

Sorry, I realize that the image is way too small.

 

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 ,
Apr 12, 2021 Apr 12, 2021

Copy link to clipboard

Copied

You'll need to use two different variables for the DC View object and then it will work.

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
New Here ,
Dec 24, 2021 Dec 24, 2021

Copy link to clipboard

Copied

LATEST

the same issue is with me, can u please provide me the source code

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
Resources