Re-Purpose Bookmark Icon Button In Left Panel of WebViewer

WebViewer Version:

Do you have an issue with a specific file(s)?


Can you reproduce using one of our samples or online demos?


Are you using the WebViewer server?


Does the issue only happen on certain browsers?


Is your issue related to a front-end framework?


Is your issue related to annotations?


Please give a brief summary of your issue:
(Think of this as an email subject)

Is it possible to re-purpose the bookmark icon button in the left panel, such that when clicked, will display and use my own custom bookmarks panel component in the existing Bookmarks panel. Specifically, I am talking about the icon button shown in the screenshot below:


If this is possible, could you show how I would do this? Thanks!

Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)

Please provide a link to a minimal sample where the issue is reproducible:

Hi Jaxzon,

To achieve this, I believe you will need to implement your own logic and create your own component within our open-source UI project at: Our UI is written in React and specifically you will need to look in to the file:

You can replace the “Button” element in the file and identify if it’s active by the state “this.props.activePanel”.