question

AlonEkelund-8687 avatar image
0 Votes"
AlonEkelund-8687 asked AlonEkelund-8687 answered

Icons are not showing in the Ribbon in desktop applications

For some reason the icon is not showing on new deployed Add-ins in Outlook, Word, Excel and PowerPoint. We have an Add-in published in AppSource. This Add-in is showing correct in the ribbon.

However, our test/development Add-in where we updated the manifest file is not showing the icon on desktop applications, but it is showing on web apps. Question is what changes has been made? We looked at the documentation but can find anything??? Question is if a change has been made to the size, format etc.
121860-file.png


office-addins-devoffice-js-dev
file.png (37.2 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @AlonEkelund-8687 ,

Please kindly understand under Outlook tag, we mainly focus on general issues about Outlook desktop client. Considering your icon couldn’t be displayed normally in all Office client, the issue may not be related to Outlook, so I would remove office-outlook-itpro tag under your post. Thanks for your understanding.

0 Votes 0 ·

Try clearing the Office cache.

Also, be sure the test add-in has a different ID (GUID) in the manifest from the production add-in.


0 Votes 0 ·

1 Answer

AlonEkelund-8687 avatar image
1 Vote"
AlonEkelund-8687 answered

Thank you. We found the issue. Our PEN test tool required that we used no-cache in the Cache-Control header. So we did and that resultet in the icon not showing in the ribbon. But, in the documentation of manifest file we found the following

"All image URIs, such as those used for add-in commands, must support caching. The server hosting the image should not return a Cache-Control header specifying no-cache, no-store, or similar options in the HTTP response."

After removing it from the Cache-Control header and handling it differently we got the icons back.

Thanks

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.