Unable to Download Edited Word Document in WebViewer in Anguler

Product:WebViewer

Product Version:

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.

1 Like

Hello, I’m AiRon, an automated tech support bot :robot:
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.



Here are some resources that might help you:


Hopefully, this helps you solve your problem while you wait for a human to get back to you.

1 Like

Hello Ginuka,

Thank you for contacting WebViewer Forums.

To investigate the issue, can you please provide your WebViewer version and a sample test DOCX file where the issue is present?

Regards,
Luke

1 Like