是否可以在瀑布对话框中设置带有日期输入的自适应卡?(在Web和团队上使用Bot Framework) [英] Is it possible to set an adaptive card with date input in a waterfall dialog?(Using Bot Framework on Web and Teams)

查看:56
本文介绍了是否可以在瀑布对话框中设置带有日期输入的自适应卡?(在Web和团队上使用Bot Framework)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在瀑布对话框中设置带有日期输入的自适应卡?(使用Web和Teams上的Bot Framework).

Is it possible to set an adaptive card with date input in a waterfall dialog?(Using Bot Framework on Web and Teams).

我需要的是用户使用自适应卡Input.Date功能(除了Waterfall Dialogues之外,其他任何地方都可以使用)选择日期,即我需要此自适应卡(已在本地路径中以json创建)并返回context.PromptAsync()到下一个瀑布步骤.

What I need is user to select a date using adaptive cards Input.Date feature(Which is working everywhere except in Waterfall Dialogues) ie I need this adaptive card(which is already created as json in a local path) and return as context.PromptAsync() to next waterfall step.

谢谢, Gokul.

推荐答案

由于日期输入部分的缘故,我没有将其标记为重复项. K. Ch的回答是正确的,尽管是局部的.

I'm only not flagging this as a duplicate due to the date-input part. K. Ch's answer is correct, although partial.

要从瀑布对话框中的自适应卡中检索输入,请参阅我以前回答过的任何一次

For retrieving input from Adaptive Cards in Waterfall Dialogs, see any of the previous times I've answered this

具体来说,处理在瀑布对话框"中提交操作.

  • Official Botframework blog post on Adaptive Cards
  • AdaptiveCardPrompt. Auto-handles the Submit action and does a lot of other useful stuff. Might be integrated into the Botframework SDK someday. If you like it, show your support with a thumbs-up in that issue. You can still use the class, yourself, too.
  • Search Kyle Delaney's Adaptive Card answers. He handles a lot of Adaptive Card questions, too.
  • Adaptive Cards Templating - In Preview/Alpha, but allows you to create cards a little more dynamically within the card's JSON.

这篇关于是否可以在瀑布对话框中设置带有日期输入的自适应卡?(在Web和团队上使用Bot Framework)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆