Skip to main content
Participant
Oct 13, 2022 7:13 AM UTC
Question

Bookmarks don't work for PDF Embed API

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 is closed to new replies. Start a new post to keep the conversation going.

2 replies

Legend
Oct 14, 2022 8:09 AM UTC

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

Translate
Abambo
Community Expert
Community Expert
Oct 13, 2022 3:09 PM UTC

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

Translate
ABAMBO | Hard- and Software Engineer | Photographer