Modifying Cache Group Properties

Modify common and policy properties for cache groups.

Each mobile application project contains a Cache Groups folder that contains all cache groups for the mobile business objects (MBOs) belonging to that project.

  1. In WorkSpace Navigator, expand the mobile application project to access the Cache Groups folder.
  2. Expand the Cache Groups folder, right-click the cache group you want to view or modify, and select Properties.
  3. In the left pane, select either the Common or Policies tab, and view or modify:
    Cache group properties
    Property Description

    Common

    • Name – name of the cache group.
    • Description – a description of the cache group.
    • Use as default cache group – sets this cache group as the default.

    Policies

    • On Demand – application logic determines the refresh schedule. You can also use a Cache interval to trigger a cache refresh.
    • Scheduled – On demand and Scheduled are mutually exclusive. The cache is refreshed when a scheduled task executes.
    • Never – the cache never expires. This interval applies to both On demand and Scheduled policies.
    • Cache interval – for use with On demand or Scheduled, allows you to associate an interval with the cache group. If an application tries to synchronize:
      • Before the cache interval expires – the client application receives the data currently in the consolidated database (CDB).
      • After the cache interval expires – the CDB is refreshed from the enterprise information system (EIS), and the client synchronizes with the data in the CDB.

      If the cache interval is set to zero, each device-initiated synchronization refreshes the entire cache prior to synchronization. While this ensures the device receives up-to-date EIS data, it is costly in terms of resources.

      A Scheduled cache policy does not support a zero interval.

  4. Click OK to save changes and exit, or Cancel to undo any changes.