OfficeDev / Office-Add-in-samples

Code samples for Office Add-in development on the Microsoft 365 platform.
MIT License
717 stars 788 forks source link

Hello World add-in doesn't work in desktop Outlook 2016 #786

Closed YesLetsGo closed 3 months ago

YesLetsGo commented 4 months ago

I launched the add-on found here using the instructions: https://github.com/OfficeDev/Office-Add-in-samples/tree/main/Samples/hello-world/outlook-hello-world

The add-in works fine in Outlook on the web, but when I run in desktop Outlook it doesn't work. Taskpane starts and html is loaded, but it looks like js doesn't work. That is, the text (This add-in will insert the text "Hello world!" in a new message) is displayed and button, but when I click it nothing happens.

Additionally, after pressing the right mouse button on taskpane and selecting view source, nothing starts.

AlexJerabek commented 4 months ago

Thanks for reporting this @YesLetsGo.

@samantharamon, could you please investigate?

samantharamon commented 4 months ago

Hi @YesLetsGo,

I tested the Hello World sample using GitHub as a web host in Outlook on Windows (classic and new clients) and on the web. I see the inserted text after selecting the button from the task pane as expected. Are you using GitHub as a web host or are you using a localhost server?

microsoft-github-policy-service[bot] commented 3 months 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 3 months ago

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