最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

In Teams, is it possible to have custom data (such as a reference Id) in a adaptive card? - Stack Overflow

matteradmin3PV0评论

I am trying to get a scenario where a user can click on an Action in a card from a Teams conversation that opens an Add-on iframe context that can have access to a reference Id of sort. Using Action.OpenUrl is one way except that the resulting context is a Tab in a browser. I need an iframe inside Teams (Web or Desktop App).

Using Action.Submit as abn action opens the iframe. But there is no contextual data available that can give me a reference Id.

I did try with various fields including having a TextBlock but that does not work. Well the TextBlock approach could work but the issue is to find the message Id and call the Graph API. And the textBlock is visible to the user (isVisible is ignored by Teams).

Articles related to this article

Post a comment

comment list (0)

  1. No comments so far