question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Beta10] Context.PostAsync not rendering AdditionalProperties of AdaptiveCard

See original GitHub issue

After updating the nuget package “AdaptiveCards” to version=“1.0.0-beta09” the code below has no efect on the json returned by my bot:

var card = new AdaptiveCard();
card.AdditionalProperties.Add(new KeyValuePair<string, object>("customType", "MyCard1"));

It seem that after calling the AdditionalProperties.Add() method has no efect.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:21 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
matthidingercommented, Dec 6, 2017

Actually the latest is beta11 😀

0reactions
ederbondcommented, Feb 19, 2018

Now it is working. Thank you guys.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Beta10] Context.PostAsync not rendering ...
Hi @ederbond, I'm unable to repro this. Can you confirm the output from card.ToJson()? It should have the additional properties you ...
Read more >
c# - Microsoft Bot Framework Adaptive Cards not rendering ...
Microsoft Bot Framework Adaptive Cards not rendering properly ... PostAsync(replyToConversation); context.Done(true); }.
Read more >
Design actionable message cards using Adaptive Card ...
Outlook introduces a set of additional Adaptive Card properties and features for use in the context of Actionable Messages. Important. Outlook- ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found