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){
$CS.mandateField(["ATTACHMENT"]);
}
Screenshot for reference:
New to ADSelfService Plus?
Related Articles
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") || ...
Request add attachment_Python script-API
Steps for adding attachment to the request through python script-API. Extract the attached "Attachment_Python_Script.zip" >> Edit attachmentscript.py >>Mention product installed url in the base url ; update the api key; update the request id that ...
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. ...
Deluge Script to show request attributes in Task Subject / Description from builds: 10600 and 14306
Requirement: To show the request field values such as Request Type, Status etc., or the additional field values in the Task subject/description. Use case: When a task is triggered from a request, it should contain the request details (configured) in ...
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 ...