Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 1.16 KB

README.md

File metadata and controls

18 lines (13 loc) · 1.16 KB

SharePoint Framework Bot with Bi-directional Context via Back Channel

Simple SharePoint Framework Project that embeds a bot and uses the Bot Framework back channel to silently integrate the bot and client to share contextual information and API calls.

Setup

The SharePoint Framework leverages a number of tools including Gulp, so I recommend setting up your environment with the following the Set up your SharePoint client-side web part development environment on dev.office.com.

Running the sample

Run the following commands from a command prompt

npm install
gulp serve

When the gulp serve process completes, the local SharePoint Workbench will be launched. Because this bot performs queries against SharePoint REST APIs, you need to change the URL to the hosted SharePoint Workbench (https://tenant.sharepoint.com/_layouts/15/workbench.aspx).

Back channel logic

All of the application logic related to using the back channel is located in the EchoBotWebPart.ts file.