38 | Discover what Office Add-ins can do for you today!
39 |
40 | -
41 |
42 | Achieve more with Office integration
43 |
44 | -
45 |
46 | Unlock features and functionality
47 |
48 | -
49 |
50 | Create and visualize like a pro
51 |
52 |
53 | Modify the run function in taskpane.js, refresh this window, then click Run.
54 |
55 | Run
56 |
57 |
58 |
59 |
60 |
61 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Outlook-Addin-TaskPane-python
2 | Template to get start started writing a TaskPane Outlook Add-in using python for the backend
3 |
4 | ## Video Discussion
5 | [](https://youtu.be/RDL2BWfq43Q)
6 |
7 | This template is a modified version of the office Addin taskpane JS repository here: https://github.com/OfficeDev/Office-Addin-TaskPane-JS with a combination of the python webapp repository from here: https://github.com/Azure-Samples/python-docs-hello-world.
8 | The html files are placed in the `Templates` folder while the assests pictures, javascript files, and css files are placed in the `static` folder. This is to help flask know where html, css, and javascript files would be.
9 |
10 | ## Version Updates
11 |
12 | - 1.0.0.1 - Integrated https into development build using office-addin-dev-certs. We re-wrote the [office-addin-dev-certs](https://github.com/OfficeDev/Office-Addin-Scripts/tree/master/packages/office-addin-dev-certs) from typescript to python.
13 | - 1.0.0.0 - Initial release
14 |
15 | ## Test webapp before deployment
16 | You can run flask locally for development
17 | 1. [Download the zip](https://github.com/Masterjx9/Outlook-Addin-TaskPane-python/archive/refs/heads/master.zip) or use `git clone https://github.com/Masterjx9/Outlook-Addin-TaskPane-python.git` then go to the root of the folder and perform the following commands:
18 |
19 | ### For Windows
20 | ```powershell
21 | py -3 -m venv .venv
22 | .venv\scripts\activate
23 | pip install -r requirements.txt
24 | ```
25 |
26 | ### For MacOS/Linux
27 | ```bash
28 | python3 -m venv .venv
29 | source .venv/bin/activate
30 | pip install -r requirements.txt
31 | ```
32 |
33 | 2. In cmd, vscode, or powershell, go to the root of your folder and type `python app.py`
34 | 3. Go to OWA and add your maniest.xml. There are multiple methods dependings on your permissions and rights to your azure ad -
35 | - If you are an admin: https://docs.servicenow.com/bundle/quebec-employee-service-management/page/product/workplace-reservations-outlook-addin/task/upload-the-manifest-file-office365.html