ChannelData set in composer not coming in directline recieve activity
See original GitHub issueDescribe the bug
I need to send channeldata from composer to directline receive activity so far if i try setting channeldata like this it is available in composer but no received in receive activity of channel data
Tried implementing like this but it didn’t help turn.activity.channelData.eoc = false
Version
composer 2.1.1
Browser
- Electron distribution
- Chrome
- Safari
- Firefox
- Edge
OS
- macOS
- Windows
- Ubuntu
To Reproduce
Steps to reproduce the behavior:
- Go to ‘…’
- Click on ‘…’
- Scroll down to ‘…’
- See error
Expected behavior
Channel Data should be available in bot responses in directline recieve activity as it is available in sdk first bot when queried using directline api
Screenshots
Additional context
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
How can I update channelData for conversationUpdate Event ...
You should not be trying to use Web Chat to directly manipulate the conversation update activities spawned by Direct Line.
Read more >Bot Framework Connector service REST API reference
Learn about headers, operations, objects, and errors in the Bot Framework Connector service.
Read more >Sending a Welcome Message using the v4 Bot Framework ...
So using OnConversationUpdateActivity() in our RootDialog was not going to work for sending a welcome message to the user when using Direct Line...
Read more >Bot Framework Composer - Property management | Part 2
turn · turn.activity.from.id holds the user id coming from the app as part of DirectLine tiken. It could be a GUID or an...
Read more >Using Custom Channel Data in Bot Framework v4 - bisser.io
But I was trying to find a way to tell the webchat control (via DirectLine) that a given point in the conversation it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @EricDahlvang I didn’t even think of that. @tushaar9027 Let us know if that works for you.
I’m closing this as it seems you have an appropriate solution for setting the channelData from within Composer. I wasn’t able to find any examples of implementing middleware within Composer node runtime.