0

I am using Office.js to create an Excel add-in. I am hosting my website on https://localhost:3000 and installed the office dev certs.

When i sideload the manifest.xml locally with office-addin-debugging start manifest.xml desktop, the addin works fine.

However, when i want to sideload the add-in by uploading the manifest on excel online, i get the following error:

ExcelOnlineValidationFail

I validated the manifest using office-addin-manifest validate .\manifest.xml and it specifically say that it is targeting Excel online and it is valid.

Here is a gist of the manifest and the validate output.

I already checked Excel JS Add-In works in Excel but not Excel Online and it does not seem to applicable in my case, as i am not using visual studio F5 options.

Any help would be greatly appreciated, cheers.

Edit: It may be also important to add that the same manifest file sideloaded a few days ago without errors on excel online.

kMutagene
  • 177
  • 10
  • I think this is a bug. Could you please raise this as an [issue on the office-js repo](https://github.com/OfficeDev/office-js/issues/new/choose)? Please emphasize that it was working a few days ago. Thanks. – Rick Kirkham Apr 30 '20 at 18:37
  • Done, thank you. For anyone that finds this thread here is the [issue](https://github.com/OfficeDev/office-js/issues/1135) – kMutagene May 01 '20 at 10:52

1 Answers1

2

Just one tip, you can open the Developer Tool by F12, in the Console log, you could see the most error logs.

For this case, the error message is:

Invalid manifest from addincommands dev catalog. Exception details: {"name":"AddinManifestError","message":"AddinManifestError: resid: Commands.Url not found"}

After adding "Commands.Url" under , the manifest was side-loaded correctly...

Sergey Fedorov
  • 3,696
  • 2
  • 17
  • 21
Chen Jacky
  • 36
  • 1
  • 1
    While i was not able to get the output you got, the error was indeed that there was no commands.url tag. I would imagine however that this is something the validation command should catch no? Anyways it works again so thank you! – kMutagene May 03 '20 at 17:37
  • agreed, if Commands.Url tag is necessary for loading on web the validation should catch it and say taht it will load locally but not in web @outlook-add-ins-team-msft – Arthur Caccavo Jun 30 '23 at 16:22