-
Notifications
You must be signed in to change notification settings - Fork 196
ZZZ ‐ [Archived] ‐ Teams App Test Tool for Message Extension FAQ
Important
Content in this document has been moved to Teams platform documentation. Please do not refer to or update this document.
In Teams, when you type in search box within a search-based message extension app, your app will receive an invoke activity with these two parameters. In rare cases, you app could use activity.value.commandId
or activity.value.parameters[0].name
to control different behaviors of search command in the activity handler for the composeExtension/query
invoke activty (e.g. handleTeamsMessagingExtensionQuery
method in botbuilder-js
SDK). But most of the time, you app doesn't need it because Teams only support a single search command and you can leave them empty.
In case your app reads these two parameters, you can expand the inputs by clicking Specify Command ID or Parameter
and fill in the values. When searching, Teams App Test Tool will send these two parameters in the invoke activity payload. If not set, the activity payload won't contain them.
In Teams, this information is retrieved from your app's manifest. However, Teams App Test Tool doesn't process the manifest (see Limitations), so you need to manually specify it.
For details about the schema of this invoke activity payload, please refer to Teams documentation
In Teams, throughout the process of stepping through the dialogs triggered from action commands, your app will receive an composeExtension/fetchTask
or composeExtension/submitAction
invoke activity that contains the activity.value.commandId
parameter. Usually, you app uses it to dispatch different commands in the activity handler for the composeExtension/fetchTask
or composeExtension/submitAction
invoke activty (e.g. handleTeamsMessagingExtensionFetchTask
or handleTeamsMessagingExtensionSubmitAction
method in botbuilder-js
SDK).
When testing different action commands, you need to specify it in the Command ID
input box. If not set, the activity payload won't contain them.
In Teams, this information is retrieved from your app's manifest. However, Teams App Test Tool doesn't process the manifest (see Limitations), so you need to manually specify it.
For details about the schema of this invoke activity payload, please refer to Create and send dialogs and Respond to the dialog submit action.
Static list of parameters is the simplest method to create dialog for action commands, however you can't control the formatting in this case.
If you select to create the dialog with a static list of parameters and when the user submits the dialog, the message extension app will receive an composeExtension/submitAction
invoke activity.
Normally, you can define a list of parameters in your app manifest. However, Teams App Test Tool doesn't process the manifest (see Limitations), so you need to manually specify it.
For the schema of the static list of parameters, please refer to Manifest Schema.
Build Custom Engine Copilots
- Build a basic AI chatbot for Teams
- Build an AI agent chatbot for Teams
- Expand AI bot's knowledge with your content
Scenario-based Tutorials
- Send notifications to Teams
- Respond to chat commands in Teams
- Respond to card actions in Teams
- Embed a dashboard canvas in Teams
Extend your app across Microsoft 365
- Teams tabs in Microsoft 365 and Outlook
- Teams message extension for Outlook
- Add Outlook Add-in to a Teams app
App settings and Microsoft Entra Apps
- Manage Application settings with Teams Toolkit
- Manage Microsoft Entra Application Registration with Teams Toolkit
- Use an existing Microsoft Entra app
- Use a multi-tenant Microsoft Entra app
Configure multiple capabilities
- How to configure Tab capability within your Teams app
- How to configure Bot capability within your Teams app
- How to configure Message Extension capability within your Teams app
Add Authentication to your app
- How to add single sign on in Teams Toolkit for Visual Studio Code
- How to enable Single Sign-on in Teams Toolkit for Visual Studio
Connect to cloud resources
- How to integrate Azure Functions with your Teams app
- How to integrate Azure API Management
- Integrate with Azure SQL Database
- Integrate with Azure Key Vault
Deploy apps to production