Skip to main content
Inspiring
September 14, 2020
Answered

Embed API - How NOT display Comments panel?

Only FULL_WINDOW mode allows you to see the annotation.
But I don't want the Comments panel to show - never.

 

I want to display annotations but not display the Comments panel.

 

Currently, the Comments panel is displayed each time you load a PDF file.

 

Exist:

`annotationManager.setConfig({showCommentsPanel: false})`
but the Comments panel blinks and disappears.
I want him not to blink, not to appear at all, not even for a moment.
This topic is closed to new replies. Start a new post to keep the conversation going.
Shubhanshu DixitCorrect answer
Adobe Employee
September 14, 2020

Hi, Thanks for choosing PDF Embed API.

Yes you can achieve the same, by providing 

annotationUIConfig: { showCommentsPanel: false }

 in your preview Config.

The same is documented under setConfig API as Method 2: Pass the flags to previewFile in our public documentation https://www.adobe.io/apis/documentcloud/dcsdk/docs.html?view=view 

1 reply

Shubhanshu DixitCorrect answer
Adobe Employee
September 14, 2020

Hi, Thanks for choosing PDF Embed API.

Yes you can achieve the same, by providing 

annotationUIConfig: { showCommentsPanel: false }

 in your preview Config.

The same is documented under setConfig API as Method 2: Pass the flags to previewFile in our public documentation https://www.adobe.io/apis/documentcloud/dcsdk/docs.html?view=view 

Translate