Forum Discussion
Hiral_Patel
Jun 30, 2021Copper Contributor
Manifest for teams messaging extension not allowing to specify default value for parameters
I'm trying to set default value for input parameter under composeExtensions.commands in manifest file.
But when i install the add-in its not showing the default value for the parameter.
I have used below code to set the default value
"context": [
"message"
],
"parameters": [
{
"name": "size",
"title": "Size",
"description": "Size in pixel",
"inputType": "text",
"value": "300"
}
]
}
I checked in the blog (https://docs.microsoft.com/de-de/microsoftteams/platform/resources/schema/manifest-schema#composeextensionscommands ) that using parameters.value we can set "Initial value for the parameter." but its not working.
Can anyone suggest how can i set the default value here?
- Sridevi-MSFTMicrosoft
Hiral_Patel - Thanks for bringing up this issue, Let us investigate at our end
- Hiral_PatelCopper ContributorIs there any update on above issue?
- Wajeed-MSFTMicrosoft
Hiral_Patel - We are able to repro this at our end. Checking this with platform team.