Calendar Settings Field Reference

The Planning Calendar Settings object is intended to store the CT CPG Calendar parameters specified per each user division.


API name in Salesforce: CTCPG__CalendarSettings__c


Field API Name Type Description

Activate Quick Creation

CTCPG__IsQuickCreate__c

Checkbox

Defines if the Compact form is used for the specified record type or not. Available values:

  • true (Compact form is used)

  • false

Used in the Record Settings record type.

Activity Subtitle

CTCPG__ActivitySubtitle__c

Text(255)

API name of the activity Subtitle field. Used in the Record Settings record type.

Activity Title

CTCPG__ActivityTitle__c

Text(255)

API name of the activity Title field. Used in the Record Settings record type.

All Day Field Mapping

CTCPG__AllDayFieldMapping__c

Text(255)

Not in use.

Child Object

CTCPG__ChildObject__c

Text(255)

  • API name of the child object, if used in the Target Object record type.

  • API name of the lookup to the child object, if used in the Activity Object record type.

Default value is Contact.

Child Object Label

CTCPG__ChildObjectLabel__c

Text(255)

Label of the child object.

Used in the Target Object record type.

Color

CTCPG__Color__c

Long Text Area(32768)

The specific color for the CT CPG Activity record with the corresponding record type (separated by a comma, without a blank space).

Stored within the Global and Color setting types.

Default View

CTCPG__DefaultView__c

Text(255)

The default view of the calendar grid:

  • Day

  • Week (default)

  • Work week

  • Month

  • Work month

Stored within the Global setting type.

Direct Lookup

CTCPG__DirectLookup__c

Text(255)

API name of the field, which is used as a lookup between child and parent objects, if the Hierarchy is enabled and Connection Type is set to Direct.

Used in the Target Object record type.

Displayed records in monthly preview

CTCPG__RecordsPreview__c

Number(3,0)

Number of records that are displayed as preview for 1 day in Month view. Default value is 3.

Used in the General record type.

Division

CTCPG__Division__c

Picklist

The calendar division. Available values by default:

  • Alpha;

  • Beta.

Used in all record types.

Duration

CTCPG__Duration__c

Number(3,0)

The default duration in minutes for the CT CPG Activity. Available values are from 15 to 780.

Default values for the activity record types:

  • Event: 120

  • Visit: 30

  • Time off: 480

  • Joined Visit: 160

Used in the Record Settings record type.

Enable Hierarchy View

CTCPG__EnableHierarchyView__c

Checkbox

Defines if the Hierarchy is enabled or not. Available values:

  • true (Hierarchy is enabled)

  • false (Hierarchy is disabled, default value)

Used in the Target Object record type.

End Date Field Mapping

CTCPG__EndDateFieldMapping__c

Text(255)

API name of the field, which corresponds to the End Date field.

Used in the Activity Object record type.

Fields

CTCPG__Fields__c

Long Text Area(131072)

API names of the fields used on the Compact form.

Is Active

CTCPG__IsActive__c

Checkbox

If selected, the corresponding Pop-Up setting is active on the Pop-up record type.

Json User Settings

CTCPG__JsonUserSettings__c

Long Text Area(131072)

Maintenance field, not editable.

Mass Drag and Drop Gap

CTCPG__DragDropGap__c

Number(3, 0)

Defines the default interval between activities created by drag-and-drop of target objects.

Object

CTCPG__Object__c

Text(255)

API name of the object, for which the setting must be applied. Used in record types:

  • Activity Object

  • Record Settings

  • Drag and Drop

  • Pop-up

Other Calendar Settings JSON

CTCPG__OtherCalendarSettingsJSON__c

Long Text Area(32768)

Maintenance field, not editable.

Parent Object

CTCPG__ParentObject__c

Text(255)

  • API name of the parent object, if used in the Target Object record type.

  • API name of the lookup to the parent object, if used in the Activity Object record type.

Default value is Account.

Parent Object Label

CTCPG__ParentObjectLabel__c

Text(255)

Label of the parent object.

Used in the Target Object record type.

Profile

CTCPG__Profile__c

Text(255)

Developer name of the profile, for which the drag-and-drop setting must be applied. Value is empty if the setting is applied as the Global rule.

Used in the Drag and Drop record type.

Record Type

CTCPG__RecordType__c

Text(255)

Developer name of the record type, for which the setting must be applied.

Used in the Drag and Drop and Record Settings record types.

Reference Object

CTCPG__ReferenceObject__c

Text(255)

API name of the object, which is used as a lookup between child and parent objects, if the Hierarchy is enabled and Connection Type is set to Junction.

Used in the Target Object record type.

Required

CTCPG__Required__c

Long Text Area(32768)

Stores the Required flag for a field on the Compact form.

Used is the Record Settings record type.

Start Date Field Mapping

CTCPG__StartDateFieldMapping__c

Text(255)

API name of the field, which corresponds to the Start Date field.

Used in the Activity Object record type.

Status Field Mapping

CTCPG__StatusFieldMapping__c

Text(255)

API name of the field, which corresponds to the Status field.

Used in the Activity Object record type.

Subject Field Mapping

CTCPG__SubjectFieldMapping__c

Text(255)

API name of the field, which corresponds to the Subject field.

Used in the Activity Object record type.

User Id

CTCPG__UserId__c

Lookup(User)

Maintenance field, not editable.

Value

CTCPG__Value__c

Long Text Area(131072)

Values of statuses from the Status field mapping field, which is used for mapping statuses with colors.

Used in the Activity Object record type.
``