web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Webchat.js->directline...
Copilot Studio
Unanswered

Webchat.js->directline API - retain Chat history

(2) ShareShare
ReportReport
Posted on by 25
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.

I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 251 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 201 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard