Legacy 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

Account Block

CTCPG__AccountBlock__c

Text(255)

The API name of the Account field for the Account title in the Hierarchy View tab.

Stored within the Global setting type.

Allow Holiday Events

CTCPG__AllowHolidayEvents__c

Checkbox

If enabled, the representative can create a CT CPG Activity record on holidays and weekends.

Stored within the Global setting type.

API

CTCPG__API__c

Text(255)

The field API name to differentiate CT CPG Activity records by color, for example, CTCPG__Status__c.

Calendar Day Source Object

CTCPG__CalendarDaySourceObject__c

Text(50)

The API name of the custom Dictionary object.

  • Used if the CTCPG__UseCalendarObject__c field is selected.

  • Stored within the Global setting type.

Calendar Locale

CTCPG__CalendarLocale__c

Text(10)

The value of the CTCPG__CalendarLocale__c on the User record that is responsible for the current calendar language. Available values:

  • en: English;

  • fr: French;

  • ru: Russian;

  • ar: Arabic;

  • de: German;

  • es: Spanish;

  • it: Italian;

  • zh-cn: Chinese;

  • (Zhōngwén): Mandarin;

  • hi: Hindi.

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.

ContextMenuPoints

CTCPG__ContextMenuPoints__c

Long Text Area(3000)

If true, the CT CPG Activity record type is available to create on the corresponding Table View, Hierarchy View, and Employees tabs (separated by a comma, without a blank space).

Date field name

CTCPG__DateFieldName__c

Text(50)

The API name of the Date field of the custom Dictionary object.

  • Used if the CTCPG__UseCalendarObject__c field is selected.

  • Stored within the Global setting type.

Default View

CTCPG__DefaultView__c

Text(255)

The default view of the calendar grid:

  • month

  • agendaDay

  • agendaWeek

Stored within the Global setting type.

Description field name

CTCPG__DescriptionApiName__c

Text(50)

The API name of the Description field of the custom Dictionary object.

  • Used if the CTCPG__UseCalendarObject__c field is selected.

  • Stored within the Global setting type.

Disable Left Click

CTCPG__DisableLEftClick__c

Checkbox

If enabled, the left-click action is restricted.

Division

CTCPG__Division__c

Picklist

The calendar division. Available values by default:

  • Alpha;

  • Beta.

The representative can create a CT CPG Activity record if Account, Contact, and User record have the same division.

Duration

CTCPG__Duration__c

Number(3,0)

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

Enable list calendar

CTCPG__EnableListCalendar__c

Checkbox

If enabled, a user can select the List Day, List Week, and List Month calendar view.

End

CTCPG__End__c

Number(2,0)

The end hour of the working day.

Stored within the Global setting type.

Fields

CTCPG__Fields__c

Long Text Area(131072)

The API names of the fields in one of the Calendar settings, for example, for the popups (separated by a comma, without a blank space).

Holiday Flag

CTCPG__HolidayFlagApiName__c

Text(50)

The API name of the Holiday field of the custom Dictionary object.

  • Used if the CTCPG__UseCalendarObject__c field is selected.

  • Stored within the Global setting type.

ID

CTCPG__ID__c

Long Text Area(32768)

Stored within the Icon setting type.

Inverted Click Logic

CTCPG__IsClickLogicInverted__c

Checkbox

If enabled:

  • single-click to open a CT CPG Activity record.

  • double-click to delete a CT CPG Activity record.

Is Active

CTCPG__IsActive__c

Checkbox

If selected, the corresponding Calendar setting is active.

Labels

CTCPG__Labels__c

Long Text Area(131072)

Labels of the fields in one of the Calendar settings, for example, for the popups (separated by a comma, without a blank space).

Name

CTCPG__Name__c

Text(255)

It is used to store different settings, such as the default mass action, the CT CPG Activity record type, etc.

ProfileId

CTCPG__ProfileId__c

Text(255)

The ID of the corresponding user profile.

RecordType

CTCPG__RecordTypeId__c

Text(255)

The ID of the corresponding CT CPG Activity record type for the popup.

Reference Block

CTCPG__ReferenceBlock__c

Text(255)

The API name of the Contact or Reference field for the _Contact or Reference title in the Hierarchy view.

Stored within the Global setting type.

Relationships

CTCPG__Relationships__c

Long Text Area(32768)

The API name of the related fields, for example, lookup fields.

Required

CTCPG__Required__c

Long Text Area(32768)

If enabled, the corresponding field in the CT CPG Activity creation popup is required to fill out.

Setting Type

CTCPG__SettingType__c

Picklist

The setting type of the calendar setting:

  • Color to store CT CPG Activity color settings;

  • Global to store main settings;

  • Icon to store icon images for the CT CPG Activities;

  • Link to store available links;

  • Popup to store additional popup settings;

  • Setting not in use;

  • Tip to store tips parameters;

  • View to store list view parameters;

  • Context Menu to define available CT CPG Activity record types on the Table Tab or Hierarchy tab;

  • draganddropTrigger to enable the drag-and-drop action

  • Mass Actions to define the default mass action;

  • OldPopup: not in use.

Show weekends

CTCPG__ShowWeekends__c

Checkbox

If enabled, the weekends are displayed on the calendar grid.

Stored within the Global setting type.

Start

CTCPG__Start__c

Number(2,0)

The start hour of the working day.

Stored within the Global setting type.

Time Format

CTCPG__TimeFormat__c

Text(255)

The default time format. The available values:

  • 24-hour;

  • AM/PM.

Stored within the Global setting type.

To Show Popup

CTCPG__ToShowPopup__c

Long Text Area(32768)

If enabled, the CT CPG Activity creation popup (if specified) will be displayed to fill out during the CT CPG Activity record creation.

Types

CTCPG__Types__c

Long Text Area(131072)

The CT CPG Activity record type to select for the popup displaying.

URL

CTCPG__URL__c

URL(255)

It is used to store the URL for the CT CPG Activity icon or for the useful link.

Use calendar object

CTCPG__UseCalendarObject__c

Checkbox

If enabled, the additional custom dictionary is in use.

Use Frequency

CTCPG__UseFrequency__c

Checkbox

If enabled, when a representative creates a CT CPG Activity record for the Account by dragging and dropping, the CT CPG Activity records will be automatically created with a 30-minute interval for the associated target Contacts.

Stored within the Global setting type.

Value

CTCPG__Value__c

Long Text Area(131072)

The Standard Layout or any Visualforce page to view the CT CPG Activity record.

View Criteria Fields

CTCPG__CriteriaField__c

Long Text Area(131072)

The API names of the list view fields (separated by a comma, without a blank space).

Stored within the View setting type.

View Criteria Operators

CTCPG__CriteriaOperator__c

Long Text Area(131072)

The API names of the list view operators (separated by a comma, without a blank space).

Stored within the View setting type.

View Criteria Types

CTCPG__CriteriaType__c

Long Text Area(131072)

The data types of the list view fields (separated by a comma, without a blank space).

Stored within the View setting type.

View Criteria Values

CTCPG__CriteriaValue__c

Long Text Area(131072)

The values of the list view fields (separated by a comma, without a blank space).

Stored within the View setting type.

View Name

CTCPG__ViewName__c

Text(255)

Not in use.

View Roles

CTCPG__Roles__c

Long Text Area(131072)

The IDs of the selected user roles to access a list view (separated by a comma, without a blank space).

Stored within the View setting type.

View SObject

CTCPG__SObject__c

Text(255)

The API name of the object to sort its records in a list view.

Stored within the View setting type.

View Sort

CTCPG__Sort__c

Text(255)

The API name of the field to sort records in a list view.

Stored within the View setting type.

View Sort Order

CTCPG__SortOrder__c

Picklist

The ascending or descending order of the records in a list view.

  • asc;

  • desc.

Stored within the View setting type.

Week Start

CTCPG__WeekStart__c

Number(18,0)

The first day of the week on the calendar grid.

Stored within the Global setting type.

``