Manifest for teams messaging extension not allowing to specify default value for parameters

Copper Contributor

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#composeext... ) 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?
 
6 Replies

@Hiral_Patel - Thanks for bringing up this issue, Let us investigate at our end

@Hiral_Patel - We are able to repro this at our end. Checking this with platform team. 

@Hiral_Patel - We have checked it with platform team and they said that it does not support the default value for command parameter.
ok, and is there any plan to support this?
@Hiral_Patel - We do not have any plan as of now to support it.