Open HiranPeri opened 3 years ago
Update - I tried the same control on word manifest and it shows a menu like there but not in excel.
Thanks for the feedback @HiranPeri.
@Rick-Kirkham, could you please take a look?
@HiranPeri Please clarify what you mean by "entire add-in fails". What exactly goes wrong. What steps lead up to the failure. Is there an error message?
@Rick-Kirkham - This is the error I see -
i.e. The add-in does not load in Excel at all. No errors are displayed in visual studio.
To provide more information, about what I did:
This looks like a bug in Excel. I'm transferring this issue to a different repo.
This looks like a UX issue, so let me looping @lliu113.
@hirandesai - thanks for the extra context! Are you able to side-load your manifest, instead of launching it through visual studio? The easiest way to do this in Office Online, here is more info. Are you hitting a similar error?
@hirandesai Checking on your status. Thanks.
We moved on with a different implementation since this was not working. Sorry, I cannot help you now to check whether this will work or not!
@hirandesai Thanks for letting us know.
@hirandesai @lliu113 I'm having this exact same issue. Are there any news on this? The addin won't load if I use Control xsi:type="Menu" in Excel. As soon as I comment the code of that control, the addin loads correctly.
This is the error I get on both, the online version and desktop version of Excel:
I get the same error when I try to sideload the manifest manually using this link.
Hi ,@jargil, could you please take a look when you have time?
We used the documentation as reference to create a menu (Dropdown buttons) in excel sheet. If we comment out menu control then the add-in loads fine. But if we don't comment out and expect the menu to load then entire add-in fails.
Menu (dropdown button) controls
Issue
Here is sample manifest which we created using visual studio and then tried adding menu item in the manifest. `<?xml version="1.0" encoding="UTF-8"?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" xmlns:ov="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="TaskPaneApp">
`
Excel version: Version 2001 (Build 12430.20184)