Calendar Settings (CT CPG Settings Panel)

Go to the CT CPG Settings Panel to set up the Calendar. If you cannot see this tab, add it to the panel.

While opening the CT CPG Settings Panel for the first time, in the pop-up window, click Allow:

  • Pop-up windows in your web browser should be allowed.

  • CT CPG.CTCPG.Allow Management of Self API custom permission must be enabled for the profile of the user with maximum access rights.

calendar settings ct cpg settings panel 2025 03 24

After editing settings on any tab, click Save to apply them. If you do not save changes and switch to another tab, the dialog window with further actions will be displayed:

cpg settings save changes

User Division

All Calendar settings are applied to the selected User Division. Please pay attention to which division is selected before modifying settings.

Before editing settings, select User Division from the list:

  • By default, Alpha and Beta divisions are included in the CT CPG package. You can create your own divisions.

  • Select Global to apply settings to all users, which do not belong to any divisions.

    cpg settings division

General

In this section, you can set up:

  • Default view:

    • Day

    • Work Week

    • Week

    • Work Month

    • Month

  • Preview records in month view (from 2 to 5 or All). It affects how many records will be displayed as preview for 1 day in Month view:

    cpg month view cell

  • Interval between drag and drops:

    • 30 min

    • 1 hour

    • 1 hour 30 min

    • 2 hours

This setting affects the default interval between activities created by drag-and-drop of target objects from the left panel.

Click Save to apply changes on this tab.

cpg settings general

Target Objects

Editing the Parent Object and Child object fields require the Allow to delete Calendar Setting records custom permission.

In this section, you can set up target objects that will be displayed on the left sidebar of the calendar:

  • Parent object (Account by default) and Child object (Contact by default). If you want to specify another objects as a parent and/or child object, do the following:

    1. Create lookup fields to the new parent/child object on the CTCPG_Activity__c object.

    2. Select new object(s) in the Target Objects section.

    3. Select created lookup fields to the new parent/child object in the Activity Objects section.

    4. (Optional) edit settings in the Target Objects tab of the Pop-Up section.

  • Object label defines how the names of parent and child objects tabs in the left sidebar (10 symbols max).

  • Show hierarchy activates the Hierarchy tab in the left sidebar of the calendar. Then select the Connection type:

    • Direct: lookup from child object to parent object. Select lookup field from the Lookup from child object list.

    • Junction: when child object and parent object are connected via another object, which has lookup/master-detail fields related to both objects. Select lookup field from the Object linking parent and child object list.

Click Save to apply changes on this tab.

cpg settings target objects

Activity Objects

In this section, select parent and child objects lookup fields, if target objects are not set as default (Account and Contact).

In the Subject list, select a text field to store value from the Subject field of the Create Activity form.

cpg settings activity objects

Record Types

In this section, you can set up record types, created on the CTCPG__Activity__c object:

  • Title (required) and Subtitle (optional) are fields which values are displayed on the activity preview in the calendar grid:

    cpg activity preview

  • Default duration (minutes): default value between Start Time and End Time for new activities (from 15 to 780 minutes).

  • In the Add Compact Form For Creation section, select an option to enable the compact form for the Create Activity form:

    • None (the compact form will be disabled).

    • Optional (the compact form can be enabled by switching the toggle).

    • Required (the compact form will always be enabled).

      For Optional and Required options, set up fields to display in the compact form:

      If you switch between Optional, Required and None options, your set of fields will be saved.

      • Select a field from the list.

      • Check Required field if necessary.

      • Click 25 to add one more field. You can add up to 10 fields.

      • Click 25 to remove the field.

        You do not need to add Start Date, End Date, AllDay and Record Type ID fields, because they are displayed on the Create Activity by default.

Click Save to apply changes on this tab.

cpg settings record types

Pop-Up

In this section, you can turn on/off pop-ups for target objects (on the left sidebar) and activity objects (in the calendar grid).

  1. Select the appropriate tab, Target objects or Activity objects.

  2. For Target Objects, also select a tab for defined target objects (Account and Contact by default).

    • If the hierarchy. is enabled and connection type is Junction, also an additional tab of the linking object will be displayed (Activity in the example below). On this tab, you can select fields to show in the pop-up for the target objects in the Hierarchy tab.

    • If the hierarchy is enabled and connection type is Direct, then the pop-up for the target objects in the Hierarchy tab will display fields specified for the child object (Contact in the example below).

  3. Move desired fields from Available to Selected (up to 5): values of these fields will be displayed on the pop-up.

    For Activity Objects, you do not need to add the Status field, because it is displayed on the pop-up by default.

Click Save to apply changes on this tab.

cpg settings pop up

Drag and Drop

In this section, you can set up default record types for drag-and-drop creation of activities. If default record typers are not set, then the Create Activity form will be opened after dragging and dropping an object from the left sidebar to the calendar grid. You can specify drag-and-drop settings globally for all users of the selected division, or for a specific user profile. Settings for a specific user profile have higher priority than global settings.

  • To set default record types for all users of the selected division, in the Global rule section select desired values from the Activity and Record Type lists.

  • To set default record types for a specific user profile, click Add Settings:

    1. Select User Profile.

    2. Select Activity Object.

    3. Select Record Type.

    4. Click Save.

Click 25 to remove settings for a specific user profile.

This action requires the Allow to delete Calendar Setting records custom permission.

Click Save to apply changes on this tab.

cpg settings drag and drop

Visualization → Status Color

In this section, you can map status from your activity objects with standard status categories, each of them has its own color. It affects the color of the stripe on the left side of the activity preview:

cpg activity preview

There are 4 categories:

  • Planned

  • In Progress

  • Finished

  • Cancelled

You can define the same category for different statuses, or leave any status without category.

Click Save to apply changes on this tab.

cpg settings visualization status color

You can also create your own statuses and map them with categories. To do that:

  1. Go to SetupObject Manager and search for the CTCPG__Activity__c object.

  2. Go to Fields & Relationships and click on the Status picklist.

  3. In the Values section, click Edit for existing statues. To create a new status:

    1. Click New.

    2. In the text box, type the status name.

    3. Select record types, for which the status must be applied.

    4. Click Save.

``