Custom Related List

Mobile Custom Details Settings is a setting of the list type that handles the display and layout of the Detailing tab on the record screen of any object.


Record Type API name: CustomRelatedList


Field API Name Type Description

Column Widths

clm__ColumnWidths__c

Text(255)

List of values (separated by a comma, without blank space) to define each column’s percentage width.

  • The 0 value means that the column is not affected by width setting, i.e., it will occupy the rest of the working area.

  • The 100 value means that the column will squeeze out all the other columns from the working area.

Fields

clm__Fields__c

Text(255)

List of API names (separated by a comma, without blank space) of object fields for the display in the table row.

External Id

clm__ExternalId__c

Text(255)

Contains the ID of the corresponding record of custom settings.

Related Object

clm__RelatedObject__c

Text(255)

The API name of the object of displayed/created records.

Related Object Record Type

clm__RelatedObjectRecordType__c

Text(255)

The API name of the record type of displayed or created records.

Drilldown enabled

clm__IsDrilldownEnabled__c

Checkbox

Whether drilling down to record details when taping on a record in the table is allowed.

Creating Allowed

clm__IsCreatingAllowed__c

Checkbox

Whether the creation of new records is allowed.

If a profile is granted access to create records in the mobile app, it is not granted access to create records of the related object by default.

Deleting Allowed

clm__IsDeletingAllowed__c

Checkbox

Whether deleting of records is allowed.

If a profile is granted access to delete records in the mobile app, it is not granted access to delete records of the related object by default. The records which have not been synced may be always deleted no matter what access the profile is granted.

Reference Field

clm__ReferenceField__c

Text(255)

The API name of the relationship field through which child records are related to the parent record.

For standard Event or Task objects, the lookup field cannot be created due to Salesforce limitations. In this case, create and specify an EventId__c field with the text type to store the Event Id on the object that stands for the Event Data object.

Org ID/Profile ID

clm__OrgProfileId__c

Text(255)

Organization ID/Profile ID to which this setting is applicable:

  • if Profile ID is set, the setting is applied only to the profile;

  • if Organization ID is set, the setting is applied to all non-configured profiles.

  • if Profile ID and Organization ID are not set, the setting is applied to all non-configured profiles.

Object

clm__Object__c

Text(255)

The object on which the Detailing tab will be displayed.

Object Record Type

clm__ObjectRecordType__c

Text(255)

The record type of the object, on which the Detailing tab will be displayed.

Order

clm__Order__c

Number(18, 0)

The parameter defines the loading order of an offline object during synchronization.

Read-Only Attributes

clm__ReadOnlyAttributes__c

Text(255)

The attribute defines whether a field must be read-only. Specify a list of true and false values (separated by a comma, without blank space) for every field specified in clm__Fields__c.

Criteria

clm__Criteria__c

Text Area(255)

The criterion is to sort records and display only matching ones.

When two or more records are applied, fields are sorted by column one. If the first column has several identical values, these lines are sorted by column two.

Required Attributes

clm__RequiredAttributes__c

Text(255)

The attribute defines whether a field must be filled out. Specify a list of true and false values (separated by a comma, without blank space) for every field specified in clm__Fields__c.

Sorting Criteria

clm__SortingCriteria__c

Text(50)

The API name of the field for sorting records in the list.

Label

clm__Label__c

Text(50)

The name of the Detailing tab.

Custom Labels allow displaying different tab names in various locales and can be used as a source for the Detailing tab when $Label.label_name is set in the tab name. The mobile application will automatically apply the tab name translation specified for the given custom label depending on the locale.

``