botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

How to ask for attachments while building dialogs using FormFlow?

Open MNHarun opened this issue 8 years ago • 8 comments

Bot Info

  • SDK Platform: .NET
  • SDK Version: 3.14
  • Active Channels: emulator
  • Deployment Environment: local development with Emulator

Issue Description

Want to do as per question.

Found StackOverflow question and pointed me to:

  • BotBuilder/CSharp/Library/Microsoft.Bot.Builder/FormFlow/AwaitableAttachment.cs
  • BotBuilder/CSharp/Samples/Microsoft.Bot.Sample.FormFlowAttachmentsBot/ImagesForm.cs I cannot make the sample to work.

This Stackoverflow answer from april 2017 recommends a workaround using message.Attachment. Is this the current way to do this?

MNHarun avatar Feb 25 '18 05:02 MNHarun

@MNHarun maybe this link will help you https://github.com/southworkscom/BotBuilder/blob/a0cc5400a5e886fff9701f3bad8c103bc497adfb/CSharp/Samples/Microsoft.Bot.Sample.FormFlowAttachmentsBot/ImagesForm.cs#L65

ma3yta avatar Feb 26 '18 21:02 ma3yta

@MNHarun look like PR was merged https://github.com/Microsoft/BotBuilder/pull/2870 . But I don't see this functionality in current version of sources

ma3yta avatar Feb 26 '18 21:02 ma3yta

@JasonSowers Could you please check with the team if functionality from PR https://github.com/Microsoft/BotBuilder/pull/2870 can be merged into master?

ma3yta avatar Feb 26 '18 21:02 ma3yta

@Ma3yTa Great help. I was looking at the pointer and decided wait for the functionality to be added in official release. Or was it already included and I'm missing some related pointers.

@JasonSowers, any comment?

MNHarun avatar Feb 27 '18 03:02 MNHarun

I'll check this the team on why this was only merged to a development branch

JasonSowers avatar Feb 27 '18 18:02 JasonSowers

I'm workingwith the team to try to get this merged and released in the next SDK version. #4263

JasonSowers avatar Mar 05 '18 23:03 JasonSowers

#4263 has been merged and a new package has been released. 3.14.0.7

JasonSowers avatar Mar 09 '18 00:03 JasonSowers

Closing the issue assuming it as resolved. Please reopen a new issue if it still persists.

fanidamj-zz avatar Jun 21 '18 23:06 fanidamj-zz