Skip to main content
Participant
January 9, 2022
Question

viewer config

  • January 9, 2022
  • 1 reply
  • 428 views
[PDF Embed API] I want to update the viewer config after its loaded?
(we want to build a VIEWER COMPONENTS just like in the demo, but how i can control viewer config for existing file?
This topic has been closed for replies.

1 reply

Joel Geraci
Community Expert
Community Expert
February 17, 2022

You can't. You'll need to set the AdobeDC.View object to null and then create a new one with a new config between each change. But don't worry, the scripts will be cached and the performance isn't impacted.