Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - Bot Extensibility
Unanswered

Webchat.js->directline API - retain Chat history

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - Bot Extensibility

Overall leaderboard

Featured topics