I have a teams bot (nodejs) that renders an adaptive card with some table data. We want to provide a richer data viewing experience by iframing a javascript widget inside of a task module that will display the data using interactive D3 charts.
Basically the adaptive card will have a "see more" button, which will invoke a task module containing the html contents.
The part I can't figure out is how to access the data from the html inside the task module. I realize that there is a global object called microsoftTeams
that contains metadata and context, but it doesn't seem specific to the adaptive card that was clicked (the adaptive card that invoked the task module). It has much more global info used for teams such as the user and conversation metadata.
I was able to insert the data into the taskInfo
object when invoking the task module as a custom param. So my question is, is there a way to access the taskInfo
object from inside the HTML iframe?
没有评论:
发表评论