WebViewer Version: 11.10
Do you have an issue with a specific file(s)? No
Can you reproduce using one of our samples or online demos? No
Are you using the WebViewer server? No
Does the issue only happen on certain browsers? No
Is your issue related to a front-end framework? No
Is your issue related to annotations? No
Please give a brief summary of your issue:
Hi,
I’m interested in persisting a user’s WebViewer settings across sessions—specifically changes made under Settings → Keyboard Shortcuts and Settings → Advanced Settings (for example, modifying a hotkey or toggling an advanced option).
My goal is to capture these changes, store them (likely as a JSON object), and then reapply them programmatically when the user loads WebViewer in a future session so their preferences persist.
Currently, I’m considering tracking non-default settings on the frontend and introducing a manual “Save Settings” action that would store them. Then on WebViewer load, we would retrieve those saved settings and apply them programmatically. I spot-checked a few advanced settings, it looks like those can be set programmatically. Hotkeys too, but…
Is there an event listener or built-in mechanism in WebViewer that fires when a setting (such as a keyboard shortcut or advanced setting) is changed, so I can capture these updates automatically? Or what approach do you recommend?
Thanks,
Koa