Skip to main content
Participant
December 27, 2022
Question

Embed API - Hyperlinks in IN_LINE mode non functional in new viewer

I migrated my website to the new viewer, and the hyperlinks ion PDFs that used to work in the old viewer no longer will.  If I change to FULL_WINDOW the hyperlinks function again - but the display is not as I want it as I just want the file showing and not all the controls.

Anyone know how to get around this?

Previously I have had an issue with the redirect dialogue box not appearing at certain scales - not sure if the dissappearing hyperlinks might in fact be a dissappearing dialogue box.

A page with the non-functional hyper links is here

    This topic is closed to new replies. Start a new post to keep the conversation going.

    4 replies

    Raymond Camden
    Community Manager
    Community Manager
    January 30, 2023

    I reported this internally a few days ago. I don't have an update yet though on the issue. 

    Translate
    AlanAshbyAuthor
    Participant
    December 27, 2022

    If I resort to the old viewer and open a pdf using that all the pdf hyperlinks in that file now function, as do all the links in any other pdf - including those using the new viewer.....  Think there may be some cookie things going on here.

    Translate
    Participant
    January 30, 2023

    We're having this problem with our updated viewer as well - no internal links (table of contents) or external links work anymore. They didn't mention hyperlinks would be deprecated in the documentation. Any solutions?

    Translate
    AlanAshbyAuthor
    Participant
    January 30, 2023

    In the end I just used a Sized-Container solution - but not exactly what I would like.

    Hwere is my html

    <div id="XXX" style="width:100%; height:1700px;"></div>

    <script src="https://documentservices.adobe.com/view-sdk/viewer.js"></script>

    <script type="text/javascript">

     

    const previewConfigXXX = {

       embedMode: "SIZED_CONTAINER",

       showDownloadPDF: false,

       showAnnotationTools: false,

       showZoomControl: false,

       showFullScreen: false,

       showPageControls: false,

       showPrintPDF: false,

       showThumbnails: false,

       showBookmarks: false,  

       defaultviewmode: "FIT_PAGE",

       focusOnRendering: true,

       enableFormFilling: false,

       enableLinearization: true}

     

    document.addEventListener("adobe_dc_view_sdk.ready", function(){

    var adobeDCView = new AdobeDC.View({clientId: "46d06501911b4139a1ce2d4a865b961f", divId: "XXX"});

    adobeDCView.previewFile({

    content:{location: {url: "https://dl.dropboxusercontent.com/s/sqbvwlrwi4w512a/Shetland%20Tidal%20Streams.pdf"}},

    metaData:{fileName: "XXX"}

    }, previewConfigXXX);

    });

    </script>

     

    Translate