Adobe PDF Embed API not working fine when you have anchors on the PDF

New Here ,
Jul 05, 2022 Jul 05, 2022

Copy link to clipboard

Copied

I found an issue with the library, if you have a PDF with anchors, the anchors are linking to the desired page plus one. for example if the anchor is pointing to page 19, when you click on it, it will send you to the page 20, but the PDF is working fine when you open it directly in a browser:

 

https://www.delltechnologies.com/asset/en-us/solutions/business-solutions/briefs-summaries/delltechn...

 

You can replicate the issue if you use the DEMO page:

 

https://documentcloud.adobe.com/view-sdk-demo/index.html#/view/FULL_WINDOW/Bodea%20Brochure.pdf

 

Follow these steps:

 

1.- go to the Demo page: https://documentcloud.adobe.com/view-sdk-demo/index.html#/view/FULL_WINDOW/Bodea%20Brochure.pdf

 

2.- Click on Customize button on the bottom left corner: 

Alex25133557lqf1_1-1657045400421.png

 

3.- Download this PDF: https://www.delltechnologies.com/asset/en-us/solutions/business-solutions/briefs-summaries/delltechn... to your local drive and click on the Open file to upload it to the demo page:

Alex25133557lqf1_2-1657045484188.png

4.- Scroll to the third page in the document, you will find the anchors there:

Alex25133557lqf1_3-1657045540995.png

 

Click on any and you will see how it is going to the next page.

 

Regards

Views

31

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
LEGEND ,
Jul 05, 2022 Jul 05, 2022

Copy link to clipboard

Copied

"Anchor" isn't a technical term for anything in a PDF. THey look like links within the document. What kind of links are they, exactly?

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 ,
Jul 12, 2022 Jul 12, 2022

Copy link to clipboard

Copied

LATEST

I've been able to confirm the bug and will be filing a bug report. For future reference, the "anchors" you refer to links that go to what are known as "Named Destinations" in PDF lingo. When you see further responses on the status of the bug, be looking for that language.

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