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

How to Allow Adobe Sign Combined PDF document URL to load in PDF Embed API(DC View SDK)

Community Beginner ,
May 05, 2021 May 05, 2021

Copy link to clipboard

Copied

Hi,

I am trying to embed a PDF using PDF Embed API. The PDF URL is generated using "combinedDocument/url" Adobe Sign API. When loading this URL using PDF previewer, I'm getting a CORS error as shown below.

 

 

Access to XMLHttpRequest at 'https://adobesign.com/document/cp/document.pdf' from origin 'https://google.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

 

 

 

This is my View SDK PDF Preview Code.

 

 

    previewFile(divId: string, viewerConfig: any) {
        const config: any = {
            clientId: 'CLIENT_ID',
        };
        if (divId) { config.divId = divId;}
        this.adobeDCView = new window.AdobeDC.View(config);
        const previewFilePromise = this.adobeDCView.previewFile({
            content: {
                location: {
                    url: 'https://documentcloud.adobe.com/view-sdk-demo/PDFs/Bodea Brochure.pdf',
                    
                },
            },
            metaData: {
                fileName: 'Bodea Brochure.pdf',
            }
        }, viewerConfig);
        return previewFilePromise;
    }

 

 

 

Since the PDF resource is Adobe sign, how to allow my website to access PDF from Adobe Sign Secure URL.

Thanks!! 

TOPICS
Adobe Sign forms , Manage documents , SDK , User interface issues

Views

458

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
Community Beginner ,
May 18, 2021 May 18, 2021

Copy link to clipboard

Copied

Any updates?

Votes

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 Employee ,
May 18, 2021 May 18, 2021

Copy link to clipboard

Copied

LATEST

Hi Vinay,

 

Thank you for reaching out and sorry for the delay in response.

 

We have checked that you are using the Adobe Sign Developer account.

I would request you to get in touch with the pre-sales team in order to check if the Integration settings are enabled for your account. If not, they will help you to enable the integration settings for your account. They will help also help you with technical issues.

You may get in touch with the pre-sales team via the contact us button provided on the following page for Adobe Sign business and enterprise plan: https://acrobat.adobe.com/us/en/sign/pricing/plans.html

 

Hope the information helps.

 

Thanks,

Meenakshi

Votes

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