Managing Sync Settings

  • iPad
  • iPhone

Admins can configure various sync settings to ensure users sync regularly and efficiently. These settings apply to both incremental sync and non-blocking sync.

Prompting Syncs

Admins can configure users to be prompted if a sync has not been performed in a specified number of days using the SYNC_WARN_INTERVAL Veeva setting to indicate the number of days between syncs. A value of 0 disables the warning.

This setting applies to all mobile platforms.

Limiting the Maximum Number of Synced Accounts

Suboptimal application performance can occur if too many accounts are synced down to mobile devices. To mitigate this, Veeva recommends using VMOCs in conjunction with the following Veeva settings to limit the number of accounts synced to mobile devices:

  • MAX_ACCOUNTS_vod – The setting for Windows Tablet devices. The default and recommended maximum value is 50,000.
  • MAX_ACCOUNTS_IPAD_vod – The setting for iOS devices. The default and recommended maximum value is 15,000.

These settings are for Veeva internal use only and should not be changed.

If the limit is exceeded, an error message displays based on the TOO_MANY_ACCOUNTS Veeva message.

Using Sync Delete Refresh Mode

Sync Delete Refresh Mode is an enhanced sync process that can be enabled via two Veeva Settings. This mode enhances performance when purging large amounts of old data.

  • SYNC_DELETE_REFRESH_MODE_vod – The Veeva setting that enables the enhanced process. There are two values that determine the sync delete behavior:
  • PRODUCTION – Any time more than 25,000 records visible to a particular user are detected as deleted for a specific object OR the user exceeds 15 days between syncs, any objects listed in the SYNC_DELETE_REFRESH_OBJECTS Veeva Message are forced to refresh. When there are a large number of deleted records for parent and child objects, checking for deleted records can take several minutes.
  • TEST – Same as the PRODUCTION setting except that the time between syncs is reduced to 1 day to make it faster to verify
  • SYNC_DELETE_REFRESH_OBJECTS_vod – Determines the objects to refresh. This setting can be one of the following values:
  • NONE, or empty – This disables Sync Delete Refresh Mode
  • A comma-separated list of object names

    Objects that have Related to Top Level VMOCs do not need to be called out separately in SYNC_DELETE_REFRESH_OBJECTS_vod.

  • A Veeva Message – This is useful if the list of objects is very long. The list can be entered as a Veeva Message and referenced in the Veeva setting

When enabling the SYNC_DELETE_REFRESH_MODE, all listed objects are refreshed when a user does not sync for a period of 15 days or more.