Sync node

The Sync node is a child of the Settings node. It defines global settings for which data gets downloaded to the mobile device so that the app can function without a connection to the Rest Services. The Sync node has one attribute:

Attribute Description
ShouldCacheHomePageData Indicates whether the data displayed on the app's home page should be stored on the mobile device.

See Caching home page data.

The Sync node has one Download node as a child, which in turn has one Groups node as a child.

Groups

The Groups node has one or more Group nodes as children. Each Group node has these attributes:

Attribute Description
Download Set to True or False to enable or disable downloading for the items in the group.
Note: For the SharedResources group, the value of the Download attribute must be set to True.

See Shared resources.

Id Identifier for the group.

Each Group node has one Items node as a child. The Items node has one or more Category nodes as children. Each Category node can have these attributes:

Attribute Description
Description Description of the category.
Id Identifier for the category.

Each Category node can have one or more other Category nodes and one or more ReferenceItem nodes as children.

The reference items correspond to either models defined under the Models node or queries defined under the Queries node. If downloading is enabled for an item, then the data represented by the associated model or query will be downloaded to the mobile device when data is synchronized in the mobile app.

Each ReferenceItem node has these attributes:

Attribute Description
Download Set to True or False to enable or disable downloading for the item.
ReferenceId Id of the model or query that corresponds to this item.