I am implementing chat application using outsystems and node js as a backend. But I am not able to get updated messages until refresh. Can anyone please suggest a solution?
Hello Yogita Gawande
You can create one action in this action you refresh the aggregate and using js you call this function at every 3 seconds hope this will help you to solve this issue.
setTimeout(() => {
document.location.reload();
}, 3000);
Regard
Nikhil vijay
You can implement WebSockets. Pusher for example
This question is many times answered on the forum. First search, then ask.
Hi Yogita,
In addition to above answers, I would like to share below thread with you.
Here you can find one oml file regarding chat application and they have implemented the same what you are looking for right now. Please check it.
https://www.outsystems.com/forums/discussion/69552/how-do-i-refresh-chat-application-when-receiving-a-message/
Hope it helps you.
Thanks,
Ajit Kurane.