Forum Discussion

PlanetEstream's avatar
PlanetEstream
Copper Contributor
Apr 08, 2020

Messaging Extension (V3 SDK) Settings / Configuration

I've created a messaging extension based on the sample app provided on the Get Started guide for Teams in C#. The extension queries my company's product for data and returns it in a list, from which the user can select a card to insert into the conversation, which contains a link to view that data on our service. This works fine pointing at one of our test sites.

 

However, my customers have their own instances of the product, so they need to be able to configure the extension to point at their own instance. I'm following the documentation for search based messaging extensions which says I should be able to do this by adding canUpdateConfiguration to my manifest. This brings up a greyed out settings option when right-clicking the extension in Teams.

 

However it also says I need to use onQuerySettingsUrl and onSettingsUpdate event handlers, but is incredibly vague, and I cannot find further documentation or help on how to actually write/implement either of these things anywhere. It seems like such a simple task and we're so close to having this basic extension finished that it's getting quite frustrating.

 

Can anyone offer any advice on this? Thanks in advance.

Resources