Offline Objects

The Offline Objects record type is intended to store settings for an offline object, as well as permissions and available actions withm records of the offline object for a specific profile.

To create or update the settings of offline objects, go to CT Mobile Control Panel: Offline Objects / CT Mobile Control Panel 2.0: Offline Objects.

Record Type API name: OfflineObjects


Field API Name Type Description

Conflict Manager

clm__IsConflictManagerEnabled__c

Checkbox

Allows the Conflict Manager functionality for records of the offline object. It is used to track the changes made in a single record in the mobile application and on the Salesforce side.

Creating Allowed

clm__IsCreatingAllowed__c

Checkbox

Enables the creation of records of the offline object.

The permission to create a record cannot overcome the same profile permission.

Criteria

clm__Criteria__c

Long Text Area(32768)

Stores a SOQL query to filter records of the offline object to download in the mobile application.

The criteria line should start with the 'WHERE' keyword.

Deleting Allowed

clm__IsDeletingAllowed__c

Checkbox

Enables the deletion of records of the offline object.

The permission to delete a record cannot overcome the same profile permission.

The records which have not been synchronized may always be deleted, no matter what access the profile is granted.

Export Allowed

clm__IsExportAllowed__c

Checkbox

If true, then the Export to File item is displayed in the Actions menu. Default value is false.

External Id

clm__ExternalId__c

Text(255)

Contains the ID of the corresponding record of custom settings.

Fields

clm__Fields__c

Long Text Area(32768)

Stores a list of fields that should be always included in the Export to File workflow in the Actions menu. If the list is not set, then no required fields will be displayed.

Files Download Option

clm__FilesDownloadOption__c

Checkbox

Defines the way how a file attached to the offline object must be downloaded during synchronization. Available values:

  • Skip (default): the attached file will not be downloaded.

  • Preview: the attached file will be downloaded as preview. Tap on the preview to download the full content.

  • Full: the attached file will be downloaded as full content.

Files Filter

clm__FilesFilter__c

Long Text Area(32768)

Filters SystemModStamp attribute for related files to restrict amount of files downloaded during synchronization and reduce the synchronization time.

Object

clm__Object__c

Text(255)

Stores an API Name of an offline object.

Online Fetching

clm__IsOnlineFetchingEnabled__c

Checkbox

Defines if the Load more records button is available in the application, in case some records of the offline object were not downloaded due to the criteria specified in the clm__Criteria__c field.

Order

clm__Order__c

Number(18,0)

Defines a sequence of offline objects' records to download.

Org ID/Profile ID

clm__OrgProfileId__c

Text(255)

Stores a profile’s ID. Left blank or specify an Organization ID to apply for all non-configured profiles.

Quick Sync

clm__IsQuickSyncEnabled__c

Checkbox

Allows Quick Record Synchronization for records of the offline object.

Select Export Columns

clm__IsAllowedSelectExportColumns__c

Checkbox

If true, then the user can select desired fields to export after tapping the Export to File item in the Actions menu. Default value is false.

Speech Input Fields

clm__SpeechInputFields__c

Long Text Area(32768)

Stores the list of text fields with enabled speech input, separated by comma.

Summary Field

clm__SummaryField__c

Text(255)

Stores the API name of the field specified in the Record Summary option of the CT Mobile Control Panel.

Sync Recovery

clm__SyncRecovery__c

Picklist

Enables Sync Recovery to deliver records that could not be synchronized to Salesforce anyway. If the parameter is filled with a specific value, it enables the work of Apex web service and passes the data to Salesforce through it.

  • An empty value means that the web service is not involved.

  • Direct access means the pushing of the record changes directly to an object via the additional web service.

  • Proxy object means the pushing of the record changes as a modifiable JSON file in the Sync Log object attachments.

``