question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ChannelData set in composer not coming in directline recieve activity

See original GitHub issue

Describe 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:

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. 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:closed
  • Created 2 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
dmvtechcommented, Feb 1, 2022

Thanks @EricDahlvang I didn’t even think of that. @tushaar9027 Let us know if that works for you.

0reactions
dmvtechcommented, Feb 15, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found