Can i acces to my word addin if i am offline ?

Wail HAMMANI 10 Reputation points
2023-04-21T14:41:46.22+00:00

Hello everyone, I am a junior developer and I need some help with a task.
I am working on a Word add-in in React that was generated by Yeoman. We will deploy the web app on a VM and the manifest file in a shared repository.
Now, I want my add-in to store a PDF file in base64 form in Word's cache or local storage, so that it can be used when there are network problems.
Currently, the add-in works perfectly when I launch the development server. However, if I close Word and reopen it while still offline, the add-in won't load and displays a network error message.
My questions are:
1 Can I replace this error message with a personalized behavior, or is it managed by Word and cannot be edited?
2 When I close Word and reopen it, do I lose the data stored in the cache?

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
4,055 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.