Skip to main content
Participant
November 18, 2021
Question

Use `showAnnotationTools` prevents `showCommentsPanel` to show the comments in the view mode.

  • November 18, 2021
  • 1 reply
  • 656 views

Hi,

When I pass the below view config in Adobe PDF Embed API:

const viewerConfig = {
  embedMode: 'FULL_WINDOW',
  defaultViewMode: 'FIT_PAGE', 
  showAnnotationTools: false,
  showCommentsPanel: true,
};

 the comment section does not show up and all the sticky notes and comment are not showing up.

 

It seems that  `showAnnotationTools` is overriding the comment visibility config!

Am I doing something wrong?

This topic has been closed for replies.

1 reply

MohamadeAuthor
Participant
November 18, 2021

As you can see in the attached picture, with the above config,

It does not show the comments section.

It does not show the actual comment/sticky note content text when you hover your mouse on it.

 

We have two mode: 

1- View Mode: In this mode user can not add/remove the annotations but he/she should be able to see the comments and sticky notes.

2- Edit mode: In this mode users can edit the pdf file using the annotation tools