Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

About the feature : 

This feature when configured alerts the users if they've lost internet connectivity or if the server is down.

This is important because if the user tries to save when the network is down the save would fail and the user might lose data. 

When the system loses the connectivity with the Bahmni Server the following message would be shown. 

The client side system would keep polling for the server and will keep displaying the offline status till the connection is not re-established. 



When the connection comes back, the following alert will be displayed. 




  

Note
titleDisplay interval of the alert

This alert would disappear in 1 second. 

Configuration for Network status alert

To switch on the network status alert add the below configuration in clinical/app.json.

Code Block
languagejs
titleConfiguration
{
     "config": {
	      "showNetworkStatusMessage": true,
          "networkStatusCheckInterval": 5000
     }
}
KeyDefault ValueDescription
"showNetworkStatusMessage"?falseTo enable or disable. If configured true will enable the status alert of network connectivity.
"networkStatusCheckInterval"5 (ms or seconds?)5000 msThe frequency in milliseconds to poll the server to check the status.
Tip
iconfalse
titleOn this Page

Table of Contents