Skip to main content
Participant
October 13, 2022
Question

Bookmarks don't work for PDF Embed API

  • October 13, 2022
  • 2 replies
  • 652 views

Bookmarks don't seem to work when clicked on with the embedded pdf. It doesn't navigate to any page. It stays as is. Everything else seems fine. Currently embedded onto a WordPress site.

 

Here is the code:

<div id="adobe-dc-view" style=" height: 792px; width: 100%;"></div>
<script src="https://documentservices.adobe.com/view-sdk/viewer.js"></script>
<script type="text/javascript">
document.addEventListener("adobe_dc_view_sdk.ready", function(){
var adobeDCView = new AdobeDC.View({clientId", divId: "adobe-dc-view"});
adobeDCView.previewFile({
content:{location: {url: "https://xxx.pdf"}},
metaData:{fileName: "xxx.pdf"}
},
{embedMode: "FULL_WINDOW", showFullScreen: true, showAnnotationTools: false, showBookmarks:true, showPrintPDF: false}); });
</script>

This topic has been closed for replies.

2 replies

Legend
October 14, 2022

Actually, this doesn't involve the Acrobat SDK. The only forum to find experts in this API is https://community.adobe.com/t5/document-services-apis/ct-p/ct-Document-Cloud-SDK

Abambo
Community Expert
Community Expert
October 13, 2022

I moved this from Enterprise & Teams to the Acrobat SDK forum. I suppose you will find here faster a qualified answer to your question.

ABAMBO | Hard- and Software Engineer | Photographer