Please give a brief summary of your issue:
We are using WebViewer to edit Word documents, but after making edits, we are unable to download the document properly. If the file does download, it does not open correctly in Microsoft Word.
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 sounds like you’re experiencing issues with downloading edited Word documents using WebViewer in your Angular application. This could be due to several reasons, such as incorrect file handling or issues with the conversion process.
Some things you can try:
Ensure that you are using the correct method to export and download the edited document. The instance.saveDocument() method should be used to retrieve the edited document data.
Check if the document is being saved in the correct format before downloading. Ensure the file extension is set correctly (e.g., .docx).
Verify the integrity of the document data being downloaded. It might be helpful to inspect the data in the browser’s developer tools to ensure it’s correctly formatted.
Ensure that your WebViewer setup includes all necessary dependencies for handling DOCX files.
Consider using the loadDocument function with the loadAsPDF: true option as a workaround to see if the issue persists with PDF format.