问题
I have an icon for a button in my Outlook add-in.
For example, https:/xyz.com/img1 pointing to img1
Now if I update the image after deploying the add-in, the updated image is not loaded in the ribbon.
after update: https:/xyz.com/img1 pointing to img2.
Ideally, img2 should be visible in the ribbon, right?
Is there any cache that needs to be deleted? I have tried restarting Outlook client and desktop, but no change.
If I enable the add-in to a new user now, the new image is displayed as an icon, but for older users(for whom the add-in is enabled before changing the icon) the icon is still the old one.
How can we update the new icon in such scenarios?
回答1:
Deleting the cache can often fix this issue. The cache location varies depending on the platform.
For Windows: Delete the content of the folder %LOCALAPPDATA%\Microsoft\Office\16.0\Wef.
For Mac: Delete the content of the folder /Users/{your_name_on_the_device}/Library/Containers/com.Microsoft.OsfWebHost/Data/.
来源:https://stackoverflow.com/questions/52096328/icons-for-outlook-addin-not-updating