Skip to main content
Participant
Jan 2, 2023 7:24 AM UTC
Question

Use of divid in adobe embed api

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 is closed to new replies. Start a new post to keep the conversation going.

1 reply

Raymond Camden
Community Manager
Community Manager
Jan 3, 2023 3:23 PM UTC

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

Translate