PDF Embed API: Embedding a Document hosted on Adobe Document Cloud

New Here ,
Feb 27, 2021 Feb 27, 2021

Copy link to clipboard

Copied

I'm running into issues embedded PDF documents hosted on adobe document cloud.

The URL used is the share URL provided by document cloud.

 

On initial load the document says "Opening Document 100%", however, the rendered content gives a "File Preview Error" and a reload button which cycles back through the same errors above.

 

Is it not possible to render a PDF with the API that's hosted on adobe cloud? 

From Devtools:

DevTools failed to load SourceMap: Could not load content for https://documentcloud.adobe.com/view-sdk/2.13.1_2.0.0-9ef32cc/private/dc-app-launcher.js.map: HTTP error: status code 403, net::ERR_HTTP_RESPONSE_CODE_FAILURE

Views

112

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 ,
Feb 28, 2021 Feb 28, 2021

Copy link to clipboard

Copied

The links to files on Adobe Document Cloud are links to the Document Cloud Viewer, not to the PDf files themselves. You'll need to host your files somewhere else. I have an example of hosting files on Dropbox at this CodePen

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 ,
Mar 01, 2021 Mar 01, 2021

Copy link to clipboard

Copied

Got it. Thanks for clarifying!

 

Do you know if this is something in the dev roadmap for either the API or Document Cloud? It would be nice to have it under one roof.

 

Thanks again for the dropbox sample. We'll go this route for now.

 

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 ,
Mar 01, 2021 Mar 01, 2021

Copy link to clipboard

Copied

LATEST

I don't have insight into the roadmap. Sorry.

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