WebViewer Version:
11.2.0
Do you have an issue with a specific file(s)? NO
Can you reproduce using one of our samples or online demos? Offline support not there on Demo
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? Yes
Is your issue related to annotations? No
Please give a brief summary of your issue:
(Think of this as an email subject)
With the latest version of WebViewer 11.2.0 I m not able to open files in offline. Its working fine with Online versions. But when I try same file in offline by downloading it through PartRetriver its thorwing JS error.
Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)
Please check below JS error
webviewer-core.min.js:2140 Uncaught (in promise) TypeError: za.getFile is not a function
at h.<anonymous> (webviewer-core.min.js:2140:407)
at b (webviewer-core.min.js:66:130)
at Object.next (webviewer-core.min.js:64:490)
at webviewer-core.min.js:64:422
at new Promise (<anonymous>)
at ka (webviewer-core.min.js:64:203)
at Ca.loadAsync (webviewer-core.min.js:2138:383)
at h.<anonymous> (webviewer-core.min.js:3219:39)
at b (webviewer-core.min.js:66:130)
at Object.next (webviewer-core.min.js:64:490)
webviewer-core.min.js:3219 Uncaught (in promise) TypeError: e.getFile is not a function
at h.<anonymous> (webviewer-core.min.js:3219:160)
at b (webviewer-core.min.js:66:130)
at Object.next (webviewer-core.min.js:64:490)
at a (webviewer-core.min.js:64:261)
Please provide a link to a minimal sample where the issue is reproducible:
You guys can try any file it’s throwing same error.
Hello, I’m AiRon, an automated tech support bot While you wait for one of our customer support representatives, I can help you with your question.
It seems like you’re encountering an issue with WebViewer 11.2.0 when trying to open files offline using the PartRetriever. The error message suggests that there’s a problem with the getFile function, which indicates that the PartRetriever might not be correctly set up or the function is not being recognized in offline mode.
Some things you can try:
Ensure that the PartRetriever is properly implemented according to the latest guidelines for WebViewer 11.2.0. There may have been changes or updates that need to be accounted for.
Check that all necessary scripts are being loaded correctly. Sometimes, missing or improperly loaded scripts can cause such issues.
Verify that the offline functionality is correctly configured in your application, as offline support might require specific setup.
Consider testing with a different setup or environment to isolate whether the issue is specific to your current configuration.
Full API for WebViewer Without a Viewer: Offers insights into using WebViewer’s core functionalities, which might help identify issues with the PartRetriever.
Building your own UI: Learn how to load the core library and understand the necessary steps to ensure all components are properly initialized.
Hopefully, this helps you solve your problem while you wait for a human to get back to you.
Is there any sample docs/links where I can check Core.PartRetrievers new implementations. Please share so I can refer the same. I didn’t find any doc for this offline support with Core.PartRetrievers method.