--- title: Client scripts installed with Customer Service Management description: Client scripts are added with activation of Customer Service Management. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/customer-service-management/r\_ClientScriptInsWCustServ.html release: australia topic_type: reference last_updated: "2026-03-12" reading_time_minutes: 2 breadcrumb: [Components installed with Customer Service Management, Reference, Customer Service Management] --- # Client scripts installed with Customer Service Management Client scripts are added with activation of Customer Service Management.
| Client script | Table | Description |
|---|---|---|
| Channel and State readonly for customer | Case\[sn\_customerservice\_case\] | Sets the **Channel** and **State** fields to read only on the Case form that the customer can view from the customer portal. |
| Check Contextual Security Installed | Contact \[customer\_contact\] | Checks if the Contextual Security plugin \(com.glide.role\_management\) is installed before creating a customer contact. |
| Customer Case View | Case\[sn\_customerservice\_case\] | Hides certain elements in the Case form for ESS view. |
| Empty Case form on Account Change | Case\[sn\_customerservice\_case\] | When you change the value in the **Account** field on the Case form, the values in the following fields are cleared: **Partner**, **Partner contact**, **Asset**, **Entitlement**, **Contract**, and **Contact**. |
| Empty Partner Contact on Partner Change | Case\[sn\_customerservice\_case\] | When you change the value in the **Partner** field on the Case form, the **Partner contact** field is also cleared. |
| Hide Activity Stream | Contact\[customer\_contact\] | Hides the activity stream on top of the form header. |
| Hide attachment icon | Registration Request \[sn\_customerservice\_registration\] | Hides the attachment icon on top of the form header. |
| Hide Icons Form Header | Case\[sn\_customerservice\_case\] | Hides the email icon from the more options menu and the activity stream icon at the top of the form header. Also hides the book icon next to the **Short Description** field on the form. |
| Hide Suggestion next to Short Description | Case\[sn\_customerservice\_case\] | Hides the suggestion icon next to the **Short description** field. |
| Make field readonly | Account Relationship Type \[sn\_customerservice\_account\_relationship\_type\] | Sets the **From** and **To** fields to read only once a record is created in the Account Relationship Type table \(sn\_customerservice\_account\_relationship\_type\). |
| Open the glide list for new appointment | Appointment\[sn\_customerservice\_appointment\] | Opens the glide list to select the user for an appointment for new records. |
| Populate Contact Company | Case\[sn\_customerservice\_case\] | When a user name is selected in the **Contact** field, the **Account** field is populated with the contact's account information. |
| Populate Contract | Case\[sn\_customerservice\_case\] | Populates the **Contract** field when the **Account** field is filled. |
| Populate contract and entitlement | Case\[sn\_customerservice\_case\] | Populates the **Contract** and **Entitlement** fields when the **Account** field is filled. |
| Populate Entitlement | Case\[sn\_customerservice\_case\] | Populates the **Entitlement** field when the **Account** field is filled. |
| Populate Product | Case\[sn\_customerservice\_case\] | When an asset is selected in the **Asset** field, the **Product** field is populated with the asset's product model. |
| Registration code read-only | Registration Request \[sn\_customerservice\_registration\] | Sets the **Registration code** field to read-only. |
| Set account read on load | Account Team Member \[sn\_customerservice\_team\_member\] | Sets the **Account** field to read only for a new record when the account isn’t empty on form load. |
| Set asset readonly | Asset Contact\[sn\_customerservice\_m2m\_asset\_contact\] | Set the **Asset** field to readonly for a new form when the asset value isn’t empty. |
| Show partner field | Case \[sn\_customerservice\_case\] | Shows the **Opened by** field on the Case form. |
| Special Handling Notes for Case | Case\[sn\_customerservice\_case\] | Shows all the Special Handling Notes with display type alert related to the current record. |
| Validate Product Entitlement | Entitlement\[service\_entitlement\] | Displays a field warning message for the **Per unit** field if a product is selected but the **Asset**, **Contract**, and **Account** fields are empty. |