Yes. For add-in on Excel online, the data created with OfficeRuntime.storage is stored in local storage.
For add-in on Excel Desktop, each add-in has an independent sandbox that guaranteed the runtime(and the data) of one add-in is isolated from other add-ins. The data stored with OfficeRuntime.storage is stored in the corresponding local storage.
Here is another documentation about OfficeRuntime.storage for reference.
OfficeRuntime.Storage: Where is the data actually stored on Excel Desktop & Web?
Hello, I have an excel add-in that has some custom functions (functions.html, functions.js...) and a task pane. It's not using the shared runtime. Task pane has some html inputs to get credentials from the user. These credentials are stored with OfficeRuntime.storage. Then these are accessed within the custom functions to make an API call.
The data is shared with the OfficeRuntime.storage between task pane and the custom functions.
I read the documentation but there is not much detail about where the data is stored. I've investigated the web version and I see that the data created with OfficeRuntime.storage is actually stored in local storage. I wonder where exactly the data is stored on Excel Desktop.
Is it saved in user's computer where the Excel is running? Is is possible to access these credentials from another add-in running on the same computer? I want to make sure that the data I stored with OfficeRuntime.storage is isolated from other users and other add-ins.
Sign in to comment
Sort by: Oldest