Skip to main content
Participant
January 2, 2023
Question

Use of divid in adobe embed api

  • January 2, 2023
  • 1 reply
  • 306 views
var adobeDCView = new AdobeDC.View({clientId: "<YOUR_CLIENT_ID>", divId: "adobe-dc-view"});
adobeDCView.previewFile( {
`content: {location: {url: "<Path to your PDF/yourfilename.pdf">}},
`metaData: {fileName: "yourfilename.pdf"}
`});
In this the divid is just used for Setting up the rendering area ;Or else will they use it for any other purpose
I just want to know the internal working code for this one

 

This topic has been closed for replies.

1 reply

Raymond Camden
Community Manager
Community Manager
January 3, 2023

The divId value specifies where the library will 'draw' out the PDF control. So yes, it's used to set it up.