Search Messaging Extension

Sample code for Microsoft Teams application with SSO, Bots, Messaging extensions and other capabilities.

Search Messaging Extension

Summary

This sample is a Search messaging extension created from using the core teams application built over the course of labs A01-A03 to get to the Northwind Orders core application. It inserts information about Northwind products into the compose box where team members can update stock value.

Users can search the Northwind database when composing a message and find the product.

Search product

Select a product and insert an adaptive card which is a form with product details and stock input, into the conversation.

Select product

The members in the team can then update stock information in the same conversation, by adding stock unit value in the input field and select Update stock.

Product update form

Once it’s successfully updated, the card refreshes to show the new stock value. Product updated

Frameworks

drop

Version history

Version Date Author Comments
1.0 February 2022 Rabia Williams Initial release

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.


Minimal Path to Awesome

BOT_REG_AAD_APP_ID=<Bot id> BOT_REG_AAD_APP_PASSWORD=<Client Secret>

Features

This is a simple Search messaging extension to show case how you can search and display data from a third party data base in Microsoft Teams. It also shows how you can update data in the third party data base all in the same conversation.

Debug and test locally

TBD