Share via

Rendering error with messaging extension with search command

Anonymous
2022-03-09T13:35:45.94+00:00

Hi,
I'm developing an app for Microsoft Teams and i noticed an issue on messaging extension double tab with search command.

Basically in the channels the extension messaging is rendered correctly as per documentation.
181465-image.png

But in private conversations it is broken instead
181439-image.png

Can you tell me why? Thank you

Microsoft Teams | Development
Microsoft Teams | Development

Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs


2 answers

Sort by: Most helpful
  1. Nivedipa-MSFT 4,246 Reputation points Microsoft External Staff Moderator
    2022-03-15T11:29:54.077+00:00

    We have confirmed this with engineering team and it's the by design behavior for Messaging Extension in different scopes.

    Thanks,
    Nivedipa


    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

    Was this answer helpful?

    0 comments No comments

  2. Anonymous
    2022-03-15T09:30:15.707+00:00

    @Nivedipa-MSFT Ok! Here my messaging extension settings:

        "composeExtensions": [  
            {  
                "botId": "",  
                "commands": [  
                    {  
                        "id": "courses",  
                        "type": "query",  
                        "title": "Courses",  
                        "description": "Search for a course to share",  
                        "initialRun": false,  
                        "fetchTask": false,  
                        "context": [  
                            "commandBox",  
                            "compose"  
                        ],  
                        "parameters": [  
                            {  
                                "name": "query",  
                                "title": "Search for...",  
                                "description": "Search for...",  
                                "inputType": "text"  
                            }  
                        ]  
                    },  
                    {  
                        "id": "materials",  
                        "type": "query",  
                        "title": "Material",  
                        "description": "Search for material to share",  
                        "initialRun": false,  
                        "fetchTask": false,  
                        "context": [  
                            "commandBox",  
                            "compose"  
                        ],  
                        "parameters": [  
                            {  
                                "name": "query",  
                                "title": "Search for..",  
                                "description": "Search for...",  
                                "inputType": "text"  
                            }  
                        ]  
                    }  
                ]  
            }  
        ]  
    

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.