This sample add-in uses the GitHub Gists API to access a user's gist and insert them into a new message.
- Clone or download the repository.
- Open a command prompt/shell to the root of the repository and run the following command:
npm start
.- If your browser indicates that the site's certificate is not trusted, you will need to add the certificate as a trusted certificate. Outlook will not load add-ins if the site is not trusted. See Adding Self-Signed Certificates as Trusted Root Certificate for details.
- If the browser does not indicate a problem with the certificate, proceed to the next step.
- Open Outlook 2016. On the Home tab in the ribbon, click the Store button.
- In the Store UI, click the text Click here to add a custom add-in, and select Add from file.... Browse to the
git-the-gist-manifest.xml
file and click Open. Click Install when prompted. - Close the Store window. You should now see a new button on the ribbon labeled Display all properties. Click this button to open the taskpane. You should see the add-in's welcome page.
Note: This taskpane is just a placeholder, the functionality in this version is all in the new message window.
- Compose a new message. You should now see two new buttons on the ribbon: Insert Gist and Insert Default Gist.
Copyright (c) 2015 Microsoft. All rights reserved.
Connect with me on Twitter @JasonJohMSFT
Follow the Outlook Dev Blog