Forum Discussion
Message Extension won't load properly in Teams Mobile
Nivedipa-MSFT
Can you share steps for Mac?
For the mobile app issue,
1. Yes. We use adaptive card on task module as msg extension action. Something like this:
task: {
type: "continue",
value: {
card: cardAttachment,
height: height,
title: "Make Collaboration Happen",
url: null,
width: width
}
}
2. Yup, our card have TextBlock, ColumnSet, ChoiceSet, Input, Action.Submit, etc. We have tried checking our card in Adaptive Card Designer and seems to work so I guess can just try any simple card.
3. Currently, we are facing the issue in IOS. But again, this seem to only happen on our dev organization.
vannyconoza
We have tested this on IOS version 15.5 and Teams version 4.12.0
But it's working fine at our end.
Please check below video for your reference:
https://user-images.githubusercontent.com/92150070/200525889-6d6b8c5c-3bdf-4734-8ba7-d13e188cfb91.mp4
Could you please update the Teams version and check again?
- Anas_IrfanNov 11, 2022Copper ContributorHey vannyconoza, I'm facing the same issue on Android. My message extension uses Task Module and Adaptive Cards and it is working fine on Desktop apps and iOS devices but on Android task module doesn't shown up upon using my message extension. Can you please help?
- Nivedipa-MSFTNov 15, 2022
Microsoft
vannyconoza - Could you please confirm is your issue resolved or are you still facing this issue?- anaas1070Nov 17, 2022Copper Contributor
Nivedipa-MSFT Hi, I'm still facing this issue and what I've figured out as yet is that I have the below-attached commands for my message extension in my manifest. createTicketFromMessage command with message context is the one ain't working on android. If I add parameters to this command in the manifest then it works fine but the form renders with empty data. I want to load a form field populated with message body text in it which I was doing in handleTeamsMessagingExtensionSubmitAction function in my bot code but if I add parameters in the manifest command then I don't receive the request in handleTeamsMessagingExtensionSubmitAction function and form gets rendered with empty fields.
"composeExtensions": [ { "botId": "<<BOT-ID>>", "commands": [ { "id": "createTicket", "type": "action", "description": "Command to run action to create a Ticket from Compose Box", "title": "Create Ticket", "context": ["compose"], "fetchTask": true, "initialRun": true }, { "id": "addComment", "type": "action", "description": "Add comment", "title": "Add Comment", "context": ["message"] }, { "id": "createTicketFromMessage", "type": "action", "description": "Create ticket", "title": "Create a ticket", "context": ["message"] } ] } ]
- Nivedipa-MSFTNov 15, 2022
Microsoft
Anas_Irfan - Could you please update the Teams version once on android and check again. We have tested on android also. But it was working fine at our end.
Also share your adaptive card so we will test at our end.