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 ADManager Plus?

          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 ...
            • Unable to configuring a network drive as attachment path

              Error Please make sure that file attachment path exits/available. Fix 1. Ensure you are able to access the network drive from MSP server with the same location provided in Self Service Portal Settings 2. Open services.msc Manage Engine ServiceDesk ...