How to update data in page with socket after modifying fields of form

Hi there

One user modifies fields, and another user opens the form at the same time and sees the socket update data. So how does the page of data using the form update synchronously?

Thanks

I think Frappe Core has this facility already. You can check the frappe js code for the same…

The method you need on the server side is frappe.emit_js or frappe.realtime.

1 Like