Skip to main content

Notifications

Community site session details

Community site session details

Session Id : aGq+jZea0rcLU9BtMQrEXo
Copilot Studio - Bot Extensibility
Unanswered

Webchat.js->directline API - retain Chat history

Like (2) ShareShare
ReportReport
Posted on 7 Apr 2025 20:11:46 by 8
Hi Experts,

I am  trying to restore transcript state on page reload using WebChat's Redux store, so that i can re-load the previous conversations.
 
But in certain cases, the transcript is coming as empty. please see the attached snippet, around the IF loop area seems the issue.
---  if (!transcript || transcript.length === 0) {  ## this is where the issue seems like
 
Please share some thoughts to fix this issue ?
Categories:
jscode.txt

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics