Skip to main content
gedsmurf1
Known Participant
February 8, 2021
Answered

Programmatically Toggle Comments Panel in PDF Embed API Viewiwer

  • February 8, 2021
  • 1 reply
  • 2074 views

Hello,

 

Is there a way to toggle the Annotation's Comment Panel programatically?

We want the Comments Panel to be shown/hidden depending on some application settings.

 

Thanks

This topic has been closed for replies.
Correct answer Joel Geraci

You can disable the comments pane using setting showCommentsPanel to false in the SetConfig object.

1 reply

Adobe Employee
February 8, 2021

Hi, Thanks for using PDF Embed API. Please look for setConfig API under section APIs to control UI configurations in the documentation.

gedsmurf1
gedsmurf1Author
Known Participant
February 8, 2021

Thank you for your response, I looked at the documentation but I am not sure which constant it is.

 

 

Joel Geraci
Community Expert
Joel GeraciCommunity ExpertCorrect answer
Community Expert
February 8, 2021

You can disable the comments pane using setting showCommentsPanel to false in the SetConfig object.