Issue with hiding specific comments in the note panel within WebViewer

Product: Webviewer

Product Version: 10.11.1

Brief Summary
Issue with hiding specific comments in the note panel within WebViewer.

Steps to reproduce the issue:
I need to hide certain comments from appearing in the note panel in WebViewer. Currently, all comments are visible, but the requirement is to selectively hide some of them based on criteria such as author or comment type.

  1. Open a PDF with multiple comments/annotations in WebViewer.
  2. Open the note panel that lists all comments.
  3. Observe that all comments are shown with no option to hide any selectively.
  4. Attempt to filter or hide certain comments but find no built-in feature to do so.

Please confirm if this functionality is supported or if there is a recommended workaround.

POT:

1 Like

Hello, I’m AiRon, an automated tech support bot :robot:
While you wait for one of our customer support representatives, I can help you with your question.


It seems you’re looking to hide specific comments in the note panel within WebViewer based on certain criteria like author or comment type. WebViewer supports this functionality through customization using the setCustomNoteFilter method.

Some things you can try:

  • Use the setCustomNoteFilter API to define a custom filter function. This function determines which annotations should be visible in the notes panel.

  • In your filter function, implement the logic to check each annotation’s properties, such as the author or type, and return true for annotations that should be visible and false for those that should be hidden.

  • Ensure your WebViewer instance is correctly configured to apply these customizations.



Here are some resources that might help you:


Hopefully, this helps you solve your problem while you wait for a human to get back to you.

1 Like

Hello Jamina,

Thank you for contacting WebViewer Forums.

Each annotation has a Listable property which allows them to show up in the note panel. To remove a specific annotation from the notes panel, set the annotation Listable property to false. More information can be found here: Hide Certain Annotations in WebViewer Notes Panel | Apryse documentation

Regards,
Luke

1 Like