Is there an event handler to know when more bookmarks have been added to the outline panel?

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:

OUTLINE_BOOKMARKS_CHANGED does not appear to work

Please describe your issue and provide steps to reproduce it:

import { Subject, fromEvent } from ‘rxjs’;

I do not enter line 44 when I have made a change to bookmarks in the OutlinePanel

(The more descriptive your answer, the faster we are able to help you)

I was hoping there was some event handler to alert me whenever the outlinePanel has changed, specifically whenever new bookmarks appear in the outline, like what happens when I click a parent bookmark, so I thought of using the event listed above.

Can I use the above event to accomplish this? If so, may I see a working sample.
If not, may I see a workaround?


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


Thank you for contacting us about WebViewer. I tried seeing if the bookmark event handler works with RXJS in a React sample and it seem to work fine. You can see a sample of what I did below (552.5 KB)

What version of WebViewer are you using and what framework are you running it in (Angular, Vue, React, etc)? Does the event work when not using it with RXJS? Also what are you doing to trigger the event (adding new bookmark, deleting them, etc)? Thank you

Best Regards,
Andrew Yip
Web Developer