WebViewer Version 11.2.0 InitialDoc Not Loading

WebViewer Version: 11.2.0

Please give a brief summary of your issue:
After upgrading from version 10 to version 11.2.0, I have ran into an issue where the configuration used to initialize the WebViewer has stopped working.

Where as part of the WebViewerOptions initialDoc paramater, a document path is passed in, typically it renders the document. Before updating this (i.e. using versions 10.X.X), it was working as intended, now it has stopped.

I have found a work around by using the documentViewer.loadDocument(sameDocumentPath) method right after the WebViewer has been initialized with the exact same document path.

Given that the exact same document path is used in the loadDocument method and in the initialDoc parameter, Iā€™m unsure here the issue stems from.

1 Like

Hello Daniel,

Thank you for contacting WebViewer Forums.

Could you please provide the code used in the WebViewer Constructor? The initialDoc parameter has not changed from major version 10 to 11. However, WebViewer has defaulted to using WebComponent instead of Iframe for example.

More information can be found in our migration guide here: Migrating to V11 of WebViewer | Apryse documentation

Regards,
Luke

1 Like