Page Scripts
Change Requester role to be played only by technicians.
Please go to Admin - Field and form rules and add the below script. var additionalField = "UDF_CHAR2"; $CS.referField(additionalField, "technicians", {url: "/api/v3/technicians"}); $CS.element(additionalField).on("change", function() { ...
Script to update the description field with selective field values.
The sample script provided retrieves values from their respective fields and displays them below the description, making it more convenient for viewing. Navigate to Incident Field and Form rules > On Form Submit Modify the below script as per your ...
Script for adding a new request according to the option selected by requester and new request created will be added to notes
This is a script for adding new request from a older request according to the option selected by the requester. If requester selects option A request must be closed , if requester selects option B a new request will be created and the new request ID ...
Script to hide the "Cancel Request" option from the request actions menu for technicians
Script to hide the "Cancel Request" options from the request actions menu for technicians. 1. Goto-->Admin--->Page Scripts 2. Condition-->Roles is---->select all the roles associated with the technicians 3. Execute the script---> ...
script to make attachment mandatory while creating a request.
Please add the below script under Field and Form rules for that specific template. if ($CS.isAttachmentEmpty() == true){ alert("message"); $CS.mandateField(["ATTACHMENT"]); } Screenshot for reference:
Automatically create multiple child requests when a parent request is created (Deluge)
PURPOSE: When a request is created, multiple child requests can be generated under the same account as the parent request. TESTED BUILDS: 14306, 14500, 14503, 14504 and 14507 STEPS: 1) Download and extract the zip file from the attachment. 2) Under ...
Script to Update Date additional field (to 3 days) based on priority inside the request
In some cases the customer will need to update the date additional field based on priority set inside the request. (Applicable for builds 14300 & above) Please follow the below mentioned steps to configure: First Download and extract the attached zip ...
Update Requester from Request Description
Use case: When a request is submitted on behalf of a user via email, the request description contains the requester's full name. Script to update the ticket requester accordingly. Tested on builds: 14306,14500. Steps to follow: Go to Admin > Request ...
Script to Update date/time additional field inside request when note is added.
(Applicable for builds 14300 & above) Please follow the below mentioned steps to configure: First Download and extract the attached zip file containing the scripts & attachments (screenshots) 1.Goto Admin > Developer space --> Custom Functions > ...
Remove "Request a Service" button on standard edition without service catalog
You can remove the "Request a Service" by going to Home Page, click on customize>Requester Home Page, and remove the below script