Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

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. 




  

Display 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.

Configuration
{
     "config": {
	      "showNetworkStatusMessage": true,
          "networkStatusCheckInterval": 5000
     }
}
KeyDefault ValueDescription
"showNetworkStatusMessage"?To enable or disable. If configured true will enable the status alert of network connectivity.
"networkStatusCheckInterval"5 (ms or seconds?)The frequency in milliseconds to poll the server to check the status.

On this Page

 

  • No labels