Giter VIP home page Giter VIP logo

Comments (9)

jasonjoh avatar jasonjoh commented on July 19, 2024

Sorry to hear! This can happen for a number of reasons, but most commonly will happen if the code being executed hits an exception and fails to call event.completed(). Which button are you clicking to reproduce this, and have you modified the code at all?

from outlook-add-in-command-demo.

mganss avatar mganss commented on July 19, 2024

The "Insert default message" button. I have not modified the code, simply cloned the repo and ran gulp serve-static.

Before testing with this demo project, I had also tried creating a new add-in project from within VS. This resulted in the same behavior, even when the function was directly in a <script> section in the head of the function file and did nothing but call event.completed().

from outlook-add-in-command-demo.

jasonjoh avatar jasonjoh commented on July 19, 2024

Ah. I wonder if this is a problem with the SSL certificate used by the gulp web server. Can you open https://localhost:8443/AppCompose/Home/Home.html in a browser and see if you have any certificate trust warnings?

from outlook-add-in-command-demo.

jasonjoh avatar jasonjoh commented on July 19, 2024

Just wanted to check if you were able to look into the SSL thing.

from outlook-add-in-command-demo.

mganss avatar mganss commented on July 19, 2024

Sorry, I won't have time to check this until April 25.

from outlook-add-in-command-demo.

jasonjoh avatar jasonjoh commented on July 19, 2024

No problem, just didn't want to leave you hanging.

from outlook-add-in-command-demo.

mganss avatar mganss commented on July 19, 2024

Yes, I get a certificate trust warning. However, I have successfully built a custom pane Outlook add-in based off the VS project template which runs locally in IIS Express (port 44300). I have also tried creating a command add-in project from VS but the behavior is the same.

from outlook-add-in-command-demo.

jasonjoh avatar jasonjoh commented on July 19, 2024

Outlook disables scripts and such if the cert isn't trusted. You'll need to trust the cert that the gulp-webserver uses: https://github.com/OfficeDev/generator-office/blob/master/docs/trust-self-signed-cert.md

from outlook-add-in-command-demo.

mganss avatar mganss commented on July 19, 2024

That solved it. Thanks.

from outlook-add-in-command-demo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.