MicrosoftDocs / msteams-docs

Source for the Microsoft Teams developer platform documentation.
https://aka.ms/teamsdev
Creative Commons Attribution 4.0 International
285 stars 508 forks source link

Messaging Extension Search not working from New Conversation #4425

Closed DivyaDev1992 closed 2 years ago

DivyaDev1992 commented 3 years ago

I have created a messaging extension, and when an item is searched, I return the following. I have taken this code from the sample, provided in Microsoft documentation. The code works fine from the messaging extension popup, which is pinned to the ribbon, at the bottom of teams. As shown in the screenshot below.

Screenshot 2021-10-23 at 1 49 59 AM

However, when I type @ the name of messaging extension bot and then select search and type the same text as before, the pop up does not appear. Instead, I see console log errors. The error and behavior is as follows:

Screenshot 2021-10-23 at 1 51 44 AM

The search was working perfectly fine, a month ago. But, now, it seems broken. Kindly look into it. I see that this behavior is happening in few installed apps of mine, in the channel scope as well.


return Promise.resolve({
                        type: "result",
                        attachmentLayout: "list",
                        attachments: [{
                            "contentType": "application/vnd.microsoft.card.adaptive",
                            "content": {
                              "type": "AdaptiveCard",
                              "body": [
                                {
                                  "type": "Container",
                                  "items": [
                                    {
                                      "type": "TextBlock",
                                      "text": "Microsoft Corp (NASDAQ: MSFT)",
                                      "size": "medium",
                                      "isSubtle": true
                                    },
                                    {
                                      "type": "TextBlock",
                                      "text": "September 19, 4:00 PM EST",
                                      "isSubtle": true
                                    }
                                  ]
                                },
                                {
                                  "type": "Container",
                                  "spacing": "none",
                                  "items": [
                                    {
                                      "type": "ColumnSet",
                                      "columns": [
                                        {
                                          "type": "Column",
                                          "width": "stretch",
                                          "items": [
                                            {
                                              "type": "TextBlock",
                                              "text": "75.30",
                                              "size": "extraLarge"
                                            },
                                            {
                                              "type": "TextBlock",
                                              "text": "▼ 0.20 (0.32%)",
                                              "size": "small",
                                              "color": "attention",
                                              "spacing": "none"
                                            }
                                          ]
                                        },
                                        {
                                          "type": "Column",
                                          "width": "auto",
                                          "items": [
                                            {
                                              "type": "FactSet",
                                              "facts": [
                                                {
                                                  "title": "Open",
                                                  "value": "62.24"
                                                },
                                                {
                                                  "title": "High",
                                                  "value": "62.98"
                                                },
                                                {
                                                  "title": "Low",
                                                  "value": "62.20"
                                                }
                                              ]
                                            }
                                          ]
                                        }
                                      ]
                                    }
                                  ]
                                }
                              ],
                              "version": "1.0"
                            },
                            "preview": {
                              "contentType": "application/vnd.microsoft.card.thumbnail",
                              "content": {
                                "title": "Microsoft Corp (NASDAQ: MSFT)",
                                "text": "75.30 ▼ 0.20 (0.32%)"
                              }
                            }
                          }]
                    } as MessagingExtensionResult);

`
ghost commented 3 years ago

Hi DivyaDev1992! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

HunaidHanfee-MSFT commented 3 years ago

We are looking into this. I will try to repro it at my end. Meanwhile can you please share bot Id and timestamp when you faced it, so we can try to looking into the logs as well.

Can you also share the manifest hiding important details? Thanks

DivyaDev1992 commented 3 years ago

You can reproduce it easily using the SignNow application. Try searching for a document, and first time it would appear. Second time onwards, it will not appear. This is a quick way of checking the issue, from an application in store.

HunaidHanfee-MSFT commented 3 years ago

I am also facing this with the signnow app, but only on Teams desktop client. Not on browser. Can you share your Teams desktop version?

HunaidHanfee-MSFT commented 3 years ago

Update: For some reason it has stopped working on web browser also. We have raised a bug. Internal team is looking into it. I will get back to you once got any update.

Thanks

ChetanSharma-msft commented 2 years ago

Hello @DivyaDev1992 - We have confirmed with engineering team and this is by design. We don't support at-mention ME anymore.

You can raise a user voice here: https://microsoftteams.uservoice.com/forums/555103-public/filters/new

ghost commented 2 years ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 3 days. It will be closed if no further activity occurs within 3 days of this comment.