Sync and offline work

How devices share the clinic's data through the server, how to read the connection status, and who may keep working while the server is unreachable.

Clinic ownerReceptionDoctor

On a clinic with a server, every device keeps its own copy of the clinic's data. What you save goes into that copy first and is sent to the server; what the other devices save comes down from the server, usually within seconds. A standalone device works alone and has no server to sync with.

The connection badge

A small icon at the top of the home screen shows how this device is connected:

IconMeaning
NetworkConnected to the clinic server on the local network.
CloudConnected over the internet (cloud or remote address).
SpinningLooking for the server.
Grey cloud with a lineNot connected (offline).
PhoneA standalone device.

Tap the icon to see the details:

The connection panel of a device switched to Offline Mode.
  1. 1How the device is connected now.
  2. 2The server's address on the clinic network.
  3. 3Connects again (Go Offline disconnects on purpose).
  4. 4Changes the server's addresses.
  5. 5Checks the connection again.
  • Go Offline stops using the server on purpose, for example when the network is unstable; Go Online returns.
  • Edit Setup changes the local and remote addresses of the clinic's own server (not shown for cloud clinics).
  • On a standalone device, tapping the icon offers Connect to Cloud Server and Connect to Private Server, to move the device's data to a server (see importing data).

Connection settings

Open Settings › Connection.

The Connection tab: status, the initial download and sync performance.
  1. 1The live channel that brings other devices' changes at once.
  2. 2The state of each channel.
  3. 3Downloads the clinic data table by table.
  4. 4How often the device asks the server for changes.
  5. 5Skips heavy downloads while live updates work.
  • Connection Status shows the two channels: Server (Polling), where the device asks the server regularly, and SignalR WebSocket, the live channel. Both should say Connected.
  • Initial Data Sync opens the table-by-table download (below).
  • Sync Performance: Health check every, Polling every, Smart Sync and DB monitor every. The values marked (Recommended) suit most clinics.

Download the data again

Initial Data Sync downloads the clinic's data table by table. Use it on a new device when the server snapshot cannot be used, or to download some tables again.

  1. Open Settings › Connection › Initial Data Sync.
  2. Tick the tables to download. The tick at the top selects or clears all.
  3. Tap Start Sync and wait until every table is completed.
The table-by-table download.
  1. 1Tick the tables to download.
  2. 2Each table shows how many records this device has.
  3. 3Starts the download.

The faster way to fill a new device is the server snapshot on the restore screen; see backup and restore.

When the server cannot be reached

Work saved while a device has lost its server stays on that device until the connection returns, and it can clash with what other devices changed in the meantime. So, while a device cannot reach its server (or is switched to Offline Mode), users without the Edit data while the server is unreachable permission can only view data:

  • A red bar across the app says the connection is lost and the app is view only.
  • Trying to add, change or delete something shows a message explaining why.
A user without the offline permission while the server is unreachable.
  1. 1The red bar: view only until the connection returns.
  2. 2Shown when the user tries to save something.

To let a user keep working, an administrator switches on Edit data while the server is unreachable in the user's Menu Permissions (under Basics). See users and permissions. Their work is uploaded when the connection returns.

If a device keeps losing its server, see troubleshooting.

Last updated: · Matches ESCAI 1.35.0