Go > ServiceMax Go for Administrators > Configuring Core Features for Go > Location Tracking > Overriding Default Location Tracking Behavior
Overriding Default Location Tracking Behavior
The app sends the location tracking data to the server once the Number of un-synched user GPS locations to preserve in mobile devices limit has been reached. To override this behavior, you need to create a new custom setting and activate it for the relevant group profile.
To Create a New Custom Setting, do the following steps:
1. Go to ServiceMax Setup > App Administration > Submodules
2. Select Module: ServiceMax iPad Client; Submodule: IPAD020 (Location Ping) and click List Settings.
3. Under Custom Settings, click New Setting to create the following new setting:
a. Setting ID: DISABLE_BATCH_UPDATE
b. Setting Name: DISABLE_BATCH_UPDATE
c. Data Type: Boolean
d. Setting Type: Group
e. Search Order: Group, Global
4. Click Save.
To Activate the newly created custom setting for the relevant profile, do the following steps:
1. Go to ServiceMax Setup > App Administration > Configuration Profiles.
2. Under Group-wide Configuration Settings, select the relevant profile and choose Edit.
3. Select Module: ServiceMax iPad Client; Submodule: Location Ping.
4. Select Edit for the DISABLE_BATCH_UPDATE custom setting and set the value to True. This is a mandatory step to disable the batch updating of location tracking data.
5. Click Save and then click Close.
6. Click Save on the "Edit Configuration Profile" page.
* 
When the custom setting has been created and activated for the correct profile(s), you need to perform Configuration Sync or Erase Data and Reinitialize App for the new setting to become active.
With this custom setting set to TRUE, the app sends location data to the server whenever new location data is obtained in the app (based only on the Frequency of location tracking setting in Mobile Configuration), assuming the device has network connectivity.
Additionally, with this setting set to TRUE, the Number of un-synched user GPS locations to preserve in mobile device setting is only applicable when the device is offline and attempts to send the location data to the server. In this (offline) scenario, the app continues to store location data (when available) until the Number of un-synched user GPS locations to preserve in the mobile device limit is reached. If the limit is reached, and the device has not been able to send the location data to the server, new location data replaces the oldest data. This location data is then sent to the server the next time the user’s device has network connectivity.
* 
Changing this behavior may result in very high Salesforce API usage when the Frequency of location tracking settings is low, and battery consumption on the device will be increased.
Was this helpful?