
The following are some of the causes of this error. Getting error: "This add-in is no longer available" This will do nothing, since `id` is a read-only property. See also Some properties cannot be set directly. The following example erroneously attempts to set the read-only property Chart.id. If you attempt to set a read-only property, the write operation will fail silently, with no error thrown. Also, the TypeScript definitions for Office JS specify which object properties are read-only. del /s /f /q %LOCALAPPDATA%\Packages\Microsoft.Win32WebViewHost_cw5n1h2txyewy\AC\#!123\INetCache\Ĭhanges made to property values don't happen and there is no error messageĬheck the reference documentation for the property to see if it is read-only. If that happens, run the following command in a Windows Command Prompt. Sometimes the Edge cache isn't successfully cleared when you try to clear it in the Edge UI. If these steps don't seem to work at first, you may need to clear the browser's cache. If your add-in is hosted in Internet Information Server (IIS), you could also add the following to the web.config. For an example in an ASP.NET project, see this cshtml file. Cache-Control: "private, no-cache, no-store"įor an example of doing this in an Node.JS Express server, see this app.js file.In most cases, it involves adding certain headers to the HTTP Responses.


The details will depend on what kind of server you are using. To prevent this, turn off client-side caching when developing. Changes to static files, such as JavaScript, HTML, and CSS do not take effect If you're using Office on the web, clear your browser's cache through the browser's UI. To clear the Office cache, follow the instructions in Clear the Office cache.

Changes to add-in commands including ribbon buttons and menu items do not take effectĬlearing the cache helps ensure the latest version of your add-in's manifest is being used. See Validate an Office Add-in's manifest and Debug your add-in with runtime logging to debug add-in manifest issues. Add-in doesn't load in task pane or other issues with the add-in manifest To learn more, see Clear the Office cache. This guarantees the latest manifest is uploaded, using the current file names, menu text, and other command elements. Clearing the Office cache often fixes issues related to stale code.
