LinkedIn
Copied!

Table of Contents

Creating offline configuration templates

Version:

Only available versions of this content are shown in the dropdown

Determine the elements that are a part of your offline-enabled mobile app package by creating offline configuration templates. For example, create a template in which you add custom images and icons, to make them available in offline mode.

Use offline configuration templates to ensure that custom resources and components that are not part of your application model work correctly in your offline-enabled app. With templates, you can also exclude specific components from the packaging to improve the performance of your app.

Each template contains default read-only components that your app requires to operate reliably in offline mode.
  1. In the header of Dev Studio, click Configure Mobile Offline configuration .

  2. On the Offline configuration tab, in the Configuration template section, click Add template.

  3. In the Name field, enter a name for your template.

  4. In the Base template list, select the template that you want to use as the basis for your template.

  5. Click OK.

You can now use the template in the offline configuration of your mobile channel to ensure that the content of your offline-enabled app works as designed.
A mobile app developer for the uPlus company creates an offline configuration template for the expense reporting app.
Offline configuration template as used in the mobile channel
List of templates with the template highlighted that is used in the mobile
                        channel for the app.
  • Enabling support for components in offline mode

    Make all elements of your offline-enabled mobile app work as designed, by populating the list of offline-supported components.

  • Excluding data pages from packaging in offline-enabled mobile apps

    Improve the performance of your offline-enabled mobile app by excluding data pages from the app installation package. For example, exclude a resource-heavy data page from packaging when you plan to replace the data page with a large data page that is optimized for offline mode.

  • Excluding data pages from delta synchronization in offline-enabled mobile apps

    Optimize data exchange and save time when your offline-enabled mobile app synchronizes with the server, by excluding data pages from the delta synchronization process. For example, you can exclude a large data page with a list of countries that does not change often and therefore does not have to be packaged during delta synchronization.

  • Making custom resources available in offline mode

    Ensure that your mobile app displays custom resources and continues the process flow in offline mode by including the resources in the app installation package. For example, you can add offline support for a custom font that matches your company's branding guidelines.

Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.