This article provides a workaround to remove the 'Related' or 'Account' tab from the Service Appointment pop-up (Lightbox) in the Salesforce Field Service (SFS) Dispatcher Console.
The 'Related' and 'Account' tabs in the Service Appointment Lightbox are part of the Field Service managed package and cannot be directly modified or removed through standard configuration. The workaround uses a custom CSS file uploaded as a Salesforce Static Resource, which is then referenced in the Field Service Admin settings to hide the unwanted tab.
To remove the 'Related' or 'Account' tab from the Service Appointment pop-up in the Dispatcher Console, follow these steps:
Create a plain text file and add the appropriate CSS rule to hide the tab you want to remove.
To hide the Related tab, use the following CSS rule: .lightboxHeaderContainer [ng-show="urls.related"] { display: none; }
To hide the Account tab, use the following CSS rule: #ServiceLightboxHeader > button[ng-show="urls.account"] { display: none; }
Save the file with a .css extension, for example: removeRelatedTab.css or removeAccountTab.css.
A Static Resource is a Salesforce file storage mechanism used to host CSS, JavaScript, and other files that can be referenced by Salesforce components.
removeRelatedTab).Refresh the Dispatcher Console in your browser. Open a Service Appointment record from the Gantt to display the Lightbox pop-up. Verify that the 'Related' or 'Account' tab no longer appears.
005104781

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.