Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Dreamweaver and Adobe Embed PDF API

New Here ,
Nov 06, 2021 Nov 06, 2021

Why do I get this message and how can I rectify? Screen Shot 2021-11-06 at 14.59.43.png

 

387
Translate
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 ,
Nov 06, 2021 Nov 06, 2021

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\

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
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
New Here ,
Nov 07, 2021 Nov 07, 2021

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
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 ,
Nov 07, 2021 Nov 07, 2021

BenPleysier_0-1636285441412.png

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.

 

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
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
New Here ,
Nov 08, 2021 Nov 08, 2021
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
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 ,
Nov 08, 2021 Nov 08, 2021
LATEST

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

Document Services APIs - Adobe Support Community

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
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