Forum Discussion

Hiral_Patel's avatar
Hiral_Patel
Copper Contributor
Jun 30, 2021

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?
 

Resources