Forum Discussion
firstteam
May 27, 2021Copper Contributor
Can't add composeExtensions?
Here is my composeExtensions part.. "composeExtensions": [ { "botId": "--MyBotID--", "canUpdateConfiguration": true, "commands": [ { "id": "searchCmd", "type": "query", "title": "Search",...
Sridevi-MSFT
May 28, 2021Brass Contributor
firstteam - I have tried to upload manifest with your Compose Extension array and it's working absolutely fine. I am not getting any error while uploading file in App studio. Could you please try this manifest.
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.5/MicrosoftTeams.schema.json",
"manifestVersion": "1.5",
"version": "1.0",
"id": "--id--",
"packageName": "com.microsoft.teams.samples.searchExtension",
"developer": {
"name": "Microsoft Corp",
"websiteUrl": "https://example.azurewebsites.net",
"privacyUrl": "https://example.azurewebsites.net/privacy",
"termsOfUseUrl": "https://example.azurewebsites.net/termsofuse"
},
"name": {
"short": "search-extension-settings",
"full": "Microsoft Teams V4 Search Messaging Extension Bot and settings"
},
"description": {
"short": "Microsoft Teams V4 Search Messaging Extension Bot and settings",
"full": "Sample Search Messaging Extension Bot using V4 Bot Builder SDK and V4 Microsoft Teams Extension SDK"
},
"icons": {
"outline": "icon-outline.png",
"color": "icon-color.png"
},
"accentColor": "#abcdef",
"composeExtensions": [
{
"botId": "--id--",
"canUpdateConfiguration": true,
"commands": [
{
"id": "searchCmd",
"type": "query",
"title": "Search",
"description": "Search ....",
"initialRun": false,
"fetchTask": false,
"context": [
"commandBox",
"compose"
],
"parameters": [
{
"name": "searchKeyword",
"title": "Keywords",
"description": "Enter your search keywords",
"inputType": "text"
}
]
}
]
}
]
}