OfficeDev/Office-Add-in-samples

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

YesLetsGo opened this issue · 4 comments

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.

Thanks for reporting this @YesLetsGo.

@samantharamon, could you please investigate?

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?

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!

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