Skip to main content
Participant
January 17, 2023
Question

undefined from index.js file

  • January 17, 2023
  • 0 replies
  • 158 views

 

Hello everyone, 

 

I faced a problem when use adobe-dc-viewer, in last time it works fine, but now it give me this warning and the file in not appear 

 

 

the code: 

      var adobeDCView = new AdobeDC.View({clientId: "My client Id", divId: "adobe-dc-view"});
      adobeDCView.previewFile({
          content:{location:
              { url: src}},
          metaData:{fileName: `Attachment`}
      }, {embedMode: "SIZED_CONTAINER",
      showDownloadPDF: false,
      showPrintPDF: false});

 

This topic has been closed for replies.