adaptive-cards-py
adaptive-cards-py copied to clipboard
Summary of Message is Unable to be Set
With non-adaptive cards, one could set a summary field to change the notification text to provide context. Regrettably, using these adaptive cards results in very generic toast notifications that are difficult to differentiate:
Is the summary field an option in adaptive cards or is this managed in the workflow side of things? I tried to plumb the depths of the MS documentation but failed to come up in either direction, and am hoping this functionality can be added to this package in some capacity. I could take point if I get directed to where it can be configured. I imagined it would be in the msteams header but I am struggling to come up with an appropriate option.
Hey @YorithTheDreamer, hey @zverok, thanks @YorithTheDreamer for opening the issue and thanks @zverok for providing some further information. You both seem to be right. According to the documentation and also the links you provided, this feature might not yet be available. You could probably try to implement this workaround on your side, but its for sure not the most intuitive way. I'll keep and eye on that though and start the integration, once something is possible with adaptive cards. Until then, you might need to find a way on the workflow side. I am sorry!
EDIT: Here is another open issue, which tries to address that: #9053 Teams Preview for AdaptiveCards
As I was mentionning in the linked issue, I ended up getting something working using bot framework but it's not exaclty consistent.
For that I use fallbackText, speak.
I also set summary but at the Activity level...
Majority of the times I have the expected text in the preview, but on some updates or some case, it just give-up and I got the Card preview...