Loading
메일 전송 도메인 확인 상태 안내더 많이 읽기

Customize the Colors of the Salesforce Field Service Gantt Chart

게시 일자: May 17, 2026
상세 설명

The Gantt Color field (API name: FSL__GanttColor__c, where FSL stands for Field Service Lightning) is a standard text field available on the Service Appointment object in Salesforce Field Service. This field controls the color used to display individual Service Appointments on the Salesforce Field Service Gantt chart, enabling dispatchers to visually differentiate appointments by type, status, or priority.

The field accepts hexadecimal color codes in a specific format: a 6-character hex value prefixed with a hash symbol. For example, the color red-orange is entered as #FF5733, and brown is entered as #873E23. If the value does not match this format exactly, the color does not render correctly on the Gantt.

This field enables visual differentiation of Service Appointments to improve dispatcher visibility and operational efficiency on the Salesforce Field Service Gantt.

솔루션

To display custom colors on the Salesforce Field Service Gantt chart, populate the Gantt Color field (API name: FSL__GanttColor__c) on individual Service Appointment records using a valid hexadecimal color code prefixed with a hash symbol, for example: #FF5733 for red-orange or #873E23 for brown.

The field can be populated using the following supported methods:

Method 1: Flow Automation

Use a Salesforce Flow to automatically assign hex color values to Service Appointments based on defined business logic, such as:

  • Service Appointment Status (for example, assign blue for In Progress, green for Completed)
  • Priority level (for example, assign red for high priority appointments)

This is the recommended approach for orgs with a large volume of Service Appointments.

Method 2: Manual Assignment

A user with edit access to the Service Appointment record can manually enter a valid hex color code directly in the Gantt Color field on the Service Appointment record.

Method 3: Apex or Trigger Logic

For advanced or conditional scenarios, Apex code or a trigger can be used to programmatically set the Gantt Color field value. Ensure that the Apex logic enforces the correct hex color format (hash symbol followed by exactly 6 characters) to avoid rendering issues on the Gantt.


Knowledge 기사 번호

000383194

 
로드 중
Salesforce Help | Article