Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

Create a Service Catalog client script

Create a Service Catalog client script

You can create client scripts to customize the catalog.

About this task

To create a catalog client script:

Procedure

  1. Navigate to Service Catalog > Catalog Administration > Catalog Client Scripts. A list of current custom catalog client scripts appears.
  2. Click New.
  3. Fill in the fields, as appropriate.
    Field Description
    Name Unique name for the catalog client script.
    Applies to Item type this client script applies to:
    • A Catalog Item: enables the Catalog item field.
    • A Variable Set: enables the Variable set field.
    Active Check box to enable the client script. Clear the check box to disable the script.
    UI Type Whether to apply this field to desktop, mobile, or both.
    Script Enter the client script to run on the service catalog item.
    Type Select when the script runs, such as onLoad or onSubmit.
    Catalog item or Variable set Select a catalog item or variable set from the list. The field name and options available depend on the selection in the Applies to field.
    Applies on a Catalog Item view Check box to apply the catalog client script to catalog items displayed within the order screen on the service catalog. Available in the requester view.
    Applies on Requested Items Check box to apply the catalog client script on a Requested Item form, after the item is requested. Available in the fulfiller view. See VEditor.
    Applies on Catalog Tasks Check box to apply the catalog client script when a Catalog Task form for the item is being displayed. Available in the fulfiller view. See VEditor.
  4. Click Submit.