Share via

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?

Microsoft 365 and Office | Development | Other
0 comments No comments

Your answer

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