OfficeDev / office-js

A repo and NPM package for Office.js, corresponding to a copy of what gets published to the official "evergreen" Office.js CDN, at https://appsforoffice.microsoft.com/lib/1/hosted/office.js.
https://learn.microsoft.com/javascript/api/overview
Other
670 stars 96 forks source link

On Outlook web: Local developed addins are not loaded. Get addins modal not loaded. #2760

Closed amiram closed 1 year ago

amiram commented 2 years ago

Provide required information needed to triage your issue

Your Environment

Expected behavior

Local developed addin and "get addins" modal should work.

Current behavior

When loading he manifest locally for development, the addin sidebar is not loaded. Also the get addins modal is not loaded at all. It is working on Mac and Windows with the installed versions of Outlook.

The error I see in console:

Uncaught (in promise) undefined bubble @ owa.SharedBoot.js:formatted:22154 bubble @ owa.SharedBoot.js:formatted:37113 (anonymous) @ owa.6110.js:1 e.root.onClick @ owa.6110.js:1 We @ owa.ven.extframework.js:2 Qe @ owa.ven.extframework.js:2 (anonymous) @ owa.ven.extframework.js:2 Pr @ owa.ven.extframework.js:2 Tr @ owa.ven.extframework.js:2 (anonymous) @ owa.ven.extframework.js:2 Le @ owa.ven.extframework.js:2 (anonymous) @ owa.ven.extframework.js:2 Dr @ owa.ven.extframework.js:2 Jt @ owa.ven.extframework.js:2 Zt @ owa.ven.extframework.js:2 t.unstable_runWithPriority @ owa.4102.js:2 Ko @ owa.ven.extframework.js:2 Ie @ owa.ven.extframework.js:2 Yt @ owa.ven.extframework.js:2

Digging into the code reveals this error: Error: Nova action was not parsed [object Object] at owa.SharedBoot.js:formatted:22148:31 at Object.bubble (owa.SharedBoot.js:formatted:22149:22) at Object.bubble (owa.SharedBoot.js:formatted:37113:30) at owa.6110.js:1:17508 at e.root.onClick (owa.6110.js:1:12565) at Object.We (owa.ven.extframework.js:2:135266) at Qe (owa.ven.extframework.js:2:135420) at owa.ven.extframework.js:2:153623 at Pr (owa.ven.extframework.js:2:153717) at Tr (owa.ven.extframework.js:2:154131)

Steps to reproduce

  1. Install the addin with the installed version of Outlook.
  2. Try to open the addin and the get addins modal in the web version.
t-miyake commented 2 years ago

I have the same issue. I have tried with multiple tenants and all have the same issue.

exextoc commented 2 years ago

Hey all,

Is this occuring for all add-ins, or is there a specific add-in which it's not working for? What exactly do you mean by add-ins Modal? Do you mean a taskpane or an add-ins dialog? Could you share a screenshot(s) of your issue to understand further?

exextoc commented 2 years ago

I see that this issue has been referenced in this stackoverflow post: https://stackoverflow.com/questions/73252824/custom-outlook-add-in-not-opening-from-more-apps-popup

Is this the exact same issue that is being talked about here?

amiram commented 2 years ago

The addins that installed by outlook are working. Our addin isn't. Until a few days ago only the local developed addin wasn't working. Now the one we publish for QA (in s3) is also not working. There is a button to open the get addins dialog in order to add or remove an addin. This is also not working. Nothing is showing up so I can't upload a screenshot of nothing. Microsoft support found a workaround to open the modal by going to the file menu in the installed version and click on manage addins, but that not solving the main issue.

On Fri, Aug 19, 2022, 14:13 Outlook Add-ins Team - MSFT < @.***> wrote:

Hey all,

Is this occuring for all add-ins, or is there a specific add-in which it's not working for? What exactly do you mean by add-ins Modal? Do you mean a taskpane or an add-ins dialog? Could you share a screenshot(s) of your issue to understand further?

— Reply to this email directly, view it on GitHub https://github.com/OfficeDev/office-js/issues/2760#issuecomment-1220550112, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM5PHOTDCLAC37UQRZUQ5TVZ5T43ANCNFSM56CEUCMA . You are receiving this because you authored the thread.Message ID: @.***>

amiram commented 2 years ago

I see that this issue has been referenced in this stackoverflow post: https://stackoverflow.com/questions/73252824/custom-outlook-add-in-not-opening-from-more-apps-popup

Is this the exact same issue that is being talked about here?

It looks similar

exextoc commented 2 years ago

Can you share a screenshot of the console logs you get when you click "Get Add-ins" button? The issue we are aware of currently is happening only for Add-ins that have a Menu element in them, like the one referenced in this stack overflow post: https://stackoverflow.com/questions/73170162/add-ins-with-ribbon-menus-cannot-open-from-the-more-add-ins-menu-in-the-outloo

Does your add-in have a Menu element? If possible can you share your add-in manifest, or a similarly structured add-in manifest?

amiram commented 2 years ago

We have two buttons on the ribbon. Here is the console screenshot. I can share the manifest in private.

image

exextoc commented 2 years ago

Can you please share your add-in at OutlookAddins@M365x693897.onmicrosoft.com ? also, are you using Outlook live, or an account on Office365 cloud? Or are you on some other environment like OnPrem?

amiram commented 2 years ago

Addin sent to the email address. We are using only Office 365 accounts with Exchange online hosted by Microsoft. No OnPrem since we are using Microsoft Graph.

exextoc commented 2 years ago

@amiram Unfortunately, the previous account is down, and your email could not be accessed. Please share the add-in again on OutlookExtensibility@M365x27035562.onmicrosoft.com . Apologies for any inconvenience caused.

exextoc commented 2 years ago

@amiram The issue is not reproducible using the add-in shared by you. Can please you confirm if issue is still there. If it is there, does get add-ins issue happen for the main window or a popped-out window? Does Local developed add-in issue happens in all surfaces or one of read or compose surface?

exextoc commented 2 years ago

The add-in has a submenu, this is a known issue which is fixed now. Please mention if it still happens The get addins not working in popout is a known issue in our backlog. But unfortunately we donot have any timelines to share at this point.

Internal tracking id - 165664

amiram commented 2 years ago

@exextoc It seems that it is working well now. Local addin works. The get addins modal also works but I had to clear the cache for that.

amiram commented 2 years ago

@exextoc UPDATE: local addin works, but the get addins dialog isn't being opened if you open it from a compose toolbar. If it is a readonly item, it works.

exextoc commented 1 year ago

@amiram - Can you please confirm if you are still seeing the issue? Fix has been checked-in and should be available in production now.

microsoft-github-policy-service[bot] commented 1 year ago

This issue has been automatically marked as stale because it is marked as needing author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your interest in Office Add-ins!

microsoft-github-policy-service[bot] commented 1 year ago

This issue has been closed due to inactivity. Please comment if you still need assistance and we'll re-open the issue.

SimonDania commented 11 months ago

I have started to experience this issue again. Am I the only one?