-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Website] [AdaptvieCard alternative MessageCard summary property] #11730
Comments
@KaMa-linkai - Thanks for reporting your issue. |
While Adaptive Cards do not have a direct equivalent to the summary property, you can set a short text at the top of your card using the text property of a TextBlock. This will not be in the preview section but will be displayed prominently in the card itself. Example:
You can refer this-https://learn.microsoft.com/en-us/adaptive-cards/authoring-cards/universal-action-model |
thanks. (I want to output to the preview... to check on notification (Android).) |
Apologies for the delay in response. |
@sayali-MSFT The question is how to provide a summary for a card's content similar to the old summary field of the MessageCard. Because currently any Teams notification & Activity log just says "Card": Also related: https://ideas.powerautomate.com/d365community/idea/d5a96d54-09e7-46da-8aa2-94d82aa3389d Currently the AdaptiveCard spec doesn't seem to include anything except fallbackText, but that doesn't seem to be meant as a summary, more as a technical error message when cards are not supported. |
@villelahdenvuo - Currently there is no way to change the preview for the messages (in the notification popup and Activity screen) sent by workflow. It will show as 'Card' which is by design. We are discussing this with documentation team internally to get it updated in official documentation as well. |
I understand that displaying "Card" is by design, but I am here to question the design: I receive multiple cards per day e.g. PR requests, New Relic alerts and more. Currently all those notifications have the exact same text:
And I never know; Is it a new PR request or is the production down. 🆘 So how is that design a good user experience? The previous MessageCard had a wonderful summary field that could be used to summarize the card content exactly for this purpose! We need something similar either in AdaptiveCard or in the Teams API to provide a notification summary. |
@villelahdenvuo -Thank you for your patience. |
@sayali-MSFT Thanks for the answer and for taking that to be discussed internally. I agree with @villelahdenvuo that we should have something similar to the |
@villelahdenvuo Could you provide additional details to the workaround? I've tried to follow it, but best I could make it do was this: Screenshots of the internal logic of each action in your workflow so we can see the configuration would be helpful. |
Steps to reproduce
Copied from: microsoft/AdaptiveCards#8962
Posted by: @KaMa-linkai
Details:
Temasでwebhookにより自社のホストよりデイリーの通知を行っています。
O365コネクタがobsoleteになりworkflowsに切り替えという事で試しています。
MessageCardを使っていたましたがAdaptiveCardへ更新しました。
MessageCardではsummaryプロパティによりTeamsのアクティビティ通知にテキストを表示出来たのですがAdaptiveCardで同様の事がしたいです。
MessageCardのAndroidでの通知を添付します。
AdaptiveCardだと「workflowsからの投稿」でプレビュー部のテキストは「Card」となります。投稿者は構わないのですがプレビュー部のテキストをwebhook呼び出し側から送り込みたいです。AdaptiveCardのスキーマにはMessageCardのsummaryのようなプロパティは見つけられませんでした。
Teamsの通知で短いテキストをwebhookから設定するAdaptiveCard以外の他代替手段などでも構いません。
Teamsサポートに問い合あせたところこちらを指示されたのでポストします。よろしく。
URL: https://adaptivecards.io/samples/
スクリーンショット 2024-07-16 10 08 38
Expected behavior
NA
Actual behavior
NA
Error details
No response
The text was updated successfully, but these errors were encountered: