Adaptive Card version 1.5 TableRow dose not show content of table in Teams #8717
Replies: 1 comment
-
Can you raise this issue to the Teams directly? AdaptiveCards doesn't have control over the Teams App. https://learn.microsoft.com/en-us/adaptive-cards/resources/partners |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello there,
We have json string as following and send it to our channel in team.
{"type":"message","attachments":[{"contentType":"application/vnd.microsoft.card.adaptive","content":{"type":"AdaptiveCard","body":[{"type":"TextBlock","size":"large","weight":"Bolder","text":"Result"},{"type":"TextBlock","text":"Notify:【SD】\n\n通知対象者:<at>Notify [email protected]</at> , ","color":"attention","wrap":true},{"type":"Table","gridStyle":"default","firstRowAsHeaders":true,"columns":[{"width":1},{"width":1},{"width":1},{"width":3},{"width":1},{"width":1},{"width":1}],"rows":[{"type":"TableRow","cells":[{"type":"TableCell","items":[{"type":"TextBlock","text":"Child SKU","wrap":true,"weight":"Bolder"}]},{"type":"TableCell","items":[{"type":"TextBlock","text":"SKU","wrap":true,"weight":"Bolder"}]},{"type":"TableCell","items":[{"type":"TextBlock","text":"Brand","wrap":true,"weight":"Bolder"}]},{"type":"TableCell","items":[{"type":"TextBlock","text":"Product","wrap":true,"weight":"Bolder"}]},{"type":"TableCell","items":[{"type":"TextBlock","text":"Lowest","wrap":true,"weight":"Bolder"}]},{"type":"TableCell","items":[{"type":"TextBlock","text":"Token","wrap":true,"weight":"Bolder"}]},{"type":"TableCell","items":[{"type":"TextBlock","text":"point","wrap":true,"weight":"Bolder"}]}],"style":"accent"},{"type":"TableRow","cells":[{"style":"good","items":[{"text":"B08ZSQT1XX","type":"TextBlock","wrap":true}]},{"style":"good","items":[{"text":"SD000000","type":"TextBlock","wrap":true}]},{"style":"good","items":[{"text":"SD ORIGIN","type":"TextBlock","wrap":true}]},{"style":"good","items":[{"text":"200ml","type":"TextBlock","wrap":true}]},{"style":"good","items":[{"text":"1300","type":"TextBlock","wrap":true}]},{"style":"good","items":[{"text":"A19090900909","type":"TextBlock","wrap":true}]},{"style":"good","items":[{"text":"1%","type":"TextBlock","wrap":true}]}]}]}],"$schema":"http://adaptivecards.io/schemas/adaptive-card.json","version":"1.6","msteams":{"width":"Full","entities":[{"type":"mention","text":"<at>Notify [email protected]</at>","mentioned":{"id":"[email protected]","name":"@test"}}]}}}]}
However, when we switch to New Teams, the const of table is empty as following.
![image](https://private-user-images.githubusercontent.com/106799197/277208178-f94cfabf-b8a5-46c4-9252-9d573248da09.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0Nzg3NjUsIm5iZiI6MTczOTQ3ODQ2NSwicGF0aCI6Ii8xMDY3OTkxOTcvMjc3MjA4MTc4LWY5NGNmYWJmLWI4YTUtNDZjNC05MjUyLTlkNTczMjQ4ZGEwOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxM1QyMDI3NDVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yYjg3ZjEwZDZiM2ExNTQ3OTlhMjA5MGQ3NDQzOTg0MWIzYjA1YWVhNmI3MmZkNzZlMjliODZlNzM3Y2YxMDU1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.9nSTSqy-RbzWBXTcSfn8WNNUcR215X7exfEZsvn-oRw)
Even we have multiple rows to notify, there is only 1 row as shown.
Moreover, some of us get this empty constent notification even not New Teams.
I can not find if this is a problem with that json string or teams.
So, could you please give us suggesion for this?
Regards,
Beta Was this translation helpful? Give feedback.
All reactions