Client scripts installed with Customer Service Management

reference australia Updated Sep 10, 2026 2 min read r_ClientScriptInsWCustServ.md
Raw file servicenow.com

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.

**Parent Topic:**[Components installed with Customer Service Management](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/customer-service-management/r_InstalledWithCustomerService.md)
Search documentation
Search document titles and file paths on the australia branch