Script for Mandating Asset field in Request Creation/Edit page
Please Use the below script in FAFR to mandate Asset field in the Request Creation/Edit page
if(jQuery("#selectedCIs").val() == ""){
alert("Asset(s) field cannot be empty.");
$CS.stopFormSubmission();
}
New to ADSelfService Plus?
Related Articles
Script to Auto share request
1. Download MSP_share_Request.zip from the attachment, extract it, and paste the same under ManageEngine\ServiceDesk Plus MSP\integrations\Custom_scripts. # auto_share_MSP.py # functions.py # configuration.json 2. ...
Hide Asset
Use case If Technicians want to hide Asset field during template loading, then the same can be achieved using Execute Script option in Field and Form Rules. Solution Edit the incident/service template from which the asset needs to be hidden, choose ...
To make SLA mandatory while creating a service request
The steps mentioned below make the SLA selection mandatory for any service request creation. Tested in builds : 14000 and 14301. Script: if(!jQuery("#servicesla-selected").attr("data-association-id") || ...
Script to update Request with another Group when the request is approved
Use case: Assume a requester is requesting for an gadget asset and it requires approval from their managers. This ticket needs to be moved to "Asset" group only when the ticket gets approved. Pre-requisite - Python should be installed in the ...
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---> ...