Skip to main content
Participant
Nov 6, 2021 3:10 PM UTC
Question

Dreamweaver and Adobe Embed PDF API

Why do I get this message and how can I rectify? 

 

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

    5 replies

    BenPleysier
    Community Expert
    Community Expert
    Nov 7, 2021 11:49 AM UTC

    You are not authorised to use the API as long as you do not supply a Client ID.

     

    var adobeDCView = new AdobeDC.View({clientId: "<YOUR_CLIENT_ID>", divId: "adobe-dc-view"});

     

    As a sidenote: You need to set the local site up so that you do not get file:// as the domain.

     

    Translate
    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    Jon1000Author
    Participant
    Nov 8, 2021 9:11 AM UTC
    I have registered using localhost as the domain and now I see

    2 3 4 5 6 7 8 9 10 11
    12 13 24 25

    Rather than the PDF
    Translate
    BenPleysier
    Community Expert
    Community Expert
    Nov 8, 2021 10:34 AM UTC

    I doubt that localhost will suffice. But you are better off asking the experts at

    Document Services APIs - Adobe Support Community

    Translate
    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    Nancy OShea
    Community Expert
    Community Expert
    Nov 6, 2021 5:58 PM UTC

    Dreamweaver is not a web browser.  The Embed API probably needs to be hosted on a live server and viewed from a real browser to work.

     

    Also for best results, you should define a local site folder in DW by going to Site > New Site...  designate a folder for your site files and assets on the primary hard drive.   Example, C:\MyTestSite\

     

    Translate
    Nancy O'Shea— Product User & Community Expert
    Jon1000Author
    Participant
    Nov 7, 2021 9:35 AM UTC

    I understand but Dreamweaver should show the PDF.  I have created a new site on my Mac and saved index.html there but I get the same error although the PDF did momentarily appear before the error message appeared.

    Translate