Steps in Developing an Offline App
  • 22 Feb 2024
  • 2 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Steps in Developing an Offline App

  • Dark
    Light
  • PDF

Article summary

Creating an Offline App in the APM Canvas

To create an Offline App, follow the steps outlined in "Steps in Creating Business Functions" section. When the Application type has to be selected, select Offline app and click Next.

Offlineapp

Then the user selects Mobile in the Primary deployment platform popup window.

Primarydeploymenyplatform

Note

Currently, Only Non-workflow apps can be created in offline mode. Also, the Web interface is not available for Offline Apps.

After choosing the app icon, the APM screen is opened to develop the app.

offline-apm screen

Setting Up Data Sync

To setup the data sync, the user can follow the below steps:

  1. In the APM screen, the Start icon is clicked to open the Service Start popup window on the right.start%20download%20screen%20setting-new
  2. Enter the following information:
    1. Is BOS for initial and delta download the same? - If Yes, a single BOS is displayed on the canvas; If No, two BOS'es for the Initial and Delta download are displayed.deltadownload-new
    2.  Download - Specify the download interval (can choose only one)
      • Every time Internet connection is available - This setting downloads data whenever the app is online
      • Every time user opens the app - This setting downloads data every time the user opens the app
      • Default - This setting downloads data according to the scheduled sync interval time (set below)
    3. Sync interval - The data sync can be scheduled at 0,4,8,12 and 24 hours
    4. Data Validity - Clears all transaction data and refreshes with new data from the server after the set validity period. The validity period can be set at 7 days, 14 days, 21 days, or 30 days.
Note
If the transaction data is not synced within the validity period, the data becomes invalid.

Offline App Design, Implementation and Testing

After setting up the Initial and Delta download, the user can continue with the following steps to create a fully functional offline app:

Warning
The Preview option cannot be used to validate Offline sync or Offline data flow. The app functions like an online app in preview mode. The Preview is primarily available to validate the UI flow during implementation.

  • Transport the Offline App to the quality environment once all the stages of app development are complete.

How to Upgrade an Offline App?

When a new version of the offline micro-app is published through APM, the end-user is alerted with a pop-up message. On clicking Upgrade, the current version of the offline app is available for use and the data that is populated in initial download is updated. Existing records are updated and new records are downloaded. 

How to Delete an Offline App?

Currently an end-user cannot delete individual offline micro-apps that is within the container app. Only during App Deployment, the EdgeReady App can be removed from the existing container app. 


Was this article helpful?

ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence