Do you have an issue with a specific file(s)?
type.d.ts
Can you reproduce using one of our samples or online demos?
no
Are you using the WebViewer server?
yes
Does the issue only happen on certain browsers?
no
Is your issue related to a front-end framework?
angular
Is your issue related to annotations?
Please give a brief summary of your issue:
8.9 side by side doesnt work completely. The getDocumentViewers() method used in the guide doesnt work at all :
main.js:1 ERROR Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading ‘getDocumentViewers’)
TypeError: Cannot read properties of undefined (reading ‘getDocumentViewers’)
Thanks for reaching out! Can you share a sample of your code that is throwing this error? I’m not able to reproduce this error in our WebViewer Demo or using WebViewer Server.
we have an error when the method is fired in the browser.
main.js:1 ERROR Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading ‘getDocumentViewers’)
I don’t know what you mean by reproducing with the webviewer server demo or server. I checked the 8.9 sample code and nowhere is this method used in the samples.
I appreciate your patience and thanks for bringing it to our attention. I’ve informed the team and will work on getting the documentation updated to fix the Typescript error.
The documentation should be updated now in our latest nightly stable build for 8.9. You can find it
in our nightly stable installation page, or install via npm.