page_type | description | products | languages | extensions | contentType | createdDate | ||||
---|---|---|---|---|---|---|---|---|---|---|
sample |
Microsoft Teams meeting extensibility sample for iteracting with Side Panel in-meeting |
|
|
samples |
07-07-2021 13:38:27 |
This sample illustrates how to implement Side Panel In-Meeting Experience.
- Add New Agenda Item - Gives provision to add new Agenda point.
- Add - Adds the agenda from Textinput to the SidePanel agenda list.
- Publish Agenda - Sends the agenda list to the meeting chat.
-
Node.js version 10.14 or higher
# determine node version node --version
-
Teams Microsoft Teams is installed and you have an account
-
Register a bot with Azure Bot Service, following the instructions here.
-
Ensure that you've enabled the Teams Channel
-
While registering the bot, use
https://<your_ngrok_url>/api/messages
as the messaging endpoint.NOTE: When you create your bot you will create an App ID and App password - make sure you keep these for later.
-
Clone the repository
git clone https://github.com/OfficeDev/Microsoft-Teams-Samples.git
-
Install node modules
Inside node js folder, navigate to
samples/meetings-sidepanel/nodejs/server
open your local terminal and run the below command to install node modules. You can do the same in Visual Studio code terminal by opening the project in Visual Studio code.- Repeat the same step in folder
samples/meetings-sidepanel/nodejs/ClientApp
npm install
- Repeat the same step in folder
-
We have two different solutions to run so follow below steps:
A) In a terminal, navigate to
samples/meetings-sidepanel/nodejs/server
B) In a different terminal, navigate to
samples/meetings-sidepanel/nodejs/ClientApp
-
Run ngrok - point to port 3001 (pointing to ClientApp)
# ngrok http -host-header=rewrite 3001
-
Create a new Bot by following steps mentioned in Build a bot documentation.
-
Go to .env file and add
MicrosoftAppId
andMicrosoftAppPassword
information. -
Run your app, either from Visual Studio code with
npm start
or usingRun
in the Terminal. -
Update the manifest.json file with
Microsoft-App-ID
andBaseUrl
value.
Interact with SidePanel by clicking on the App icon present on the top menu beside the "more actions" during a meeting.
- Once the app is clicked, sidepanel appears with the default agenda list. Only organizer gets the feasibility to add new agenda points to the list using "Add New Agenda Item" button.