是否可以在瀑布对话框中设置带有日期输入的自适应卡?(在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)
问题描述
是否可以在瀑布对话框中设置带有日期输入的自适应卡?(使用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
具体来说,处理在瀑布对话框"中提交操作.
- 官方Botframework自适应卡上的博客文章
- AdaptiveCardPrompt .自动处理Submit操作,并执行许多其他有用的操作. 可能有一天会集成到Botframework SDK中.如果您喜欢它,请在该问题上表示赞赏.您仍然可以自己使用该类.
- 搜索Kyle Delaney的自适应卡答案.他也处理很多自适应卡问题.
- 自适应卡模板-在预览/Alpha中,但是允许您在卡的JSON中更加动态地创建卡.
- 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屋!