Dreamweaver and Adobe Embed PDF API

New Here ,
Nov 06, 2021 Nov 06, 2021

Copy link to clipboard

Copied

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

 

Views

69

Likes

Translate

Translate

Report

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
Adobe Community Professional ,
Nov 06, 2021 Nov 06, 2021

Copy link to clipboard

Copied

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, Adobe Product User & Community Professional
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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, the only real Dreamweaver alternative.

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

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
Adobe Community Professional ,
Nov 08, 2021 Nov 08, 2021

Copy link to clipboard

Copied

LATEST

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

Document Services APIs - Adobe Support Community

Wappler, the only real Dreamweaver alternative.

Likes

Translate

Translate

Report

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