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

Community Beginner ,
Nov 17, 2021 Nov 17, 2021

Copy link to clipboard

Copied

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?

TOPICS
PDF Embed API

Views

50

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 17, 2021 Nov 17, 2021

Copy link to clipboard

Copied

LATEST

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

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources