BotFramework-WebChat icon indicating copy to clipboard operation
BotFramework-WebChat copied to clipboard

Using the Redux store to store conversation history and then retrieve it

Open raghukrishnamoorthy opened this issue 7 years ago • 1 comments

Hi,

I need to save the conversation history between bot being opened in different tabs. Something I'm considering right now is storing the result of store.getItem on to localstorage. This would store the result of store.getItem() onto the localstorage.

Now, when I open the bot in the subsequent tab, I would like to render the activities i have stored in localstorage. So that it looks like the conversation history is preserved.

How do I go about it?

raghukrishnamoorthy avatar Feb 04 '19 12:02 raghukrishnamoorthy

Hey @raghukrishnamoorthy! It looks like you've already found #365 and there is already some community participation -- I'm going to close this issue as a duplicate. For a Web Chat sample, please feel free to check out 17.chat-send-history to get started on storing history.

corinagum avatar Feb 04 '19 17:02 corinagum