Script for Mandating Asset field in Request Creation/Edit page

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

                    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 ...
                      • 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---> ...
                      • To set the logged in user as a requester and to disable the requester field selection during request creation.

                        By configuring this rule in the template when any user raises a ticket with this template they will be set as the requester by default for the ticket.(Applicable for admin, Requesters and technicians) 1. Go to the template you want to restrict the ...