script to make attachment mandatory while creating a request.

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){






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  "" >> Edit >>Mention product installed url in the base url ; update the api key; update the request id that ...
                      • Script to Auto share request

                        1. Download from the attachment, extract it, and paste the same under ManageEngine\ServiceDesk Plus MSP\integrations\Custom_scripts.          #      #      # 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 ...
                      • Close the request upon adding a note.

                        Kindly follow the steps mentioned below: 1) Go to Admin >> Developer Space >> Custom Function >> Global Functions >> Copy & Paste the attached GF_Content.txt and save it with a name. Update the URL and technician key as per your instance. Refer to ...