Steps for Custom Scripts to show only view of Account's Requests for primary contact.

Steps for Custom Scripts to show only view of Account's Requests for primary contact.

1.Create a folder under this location : ManageEngine\SupportCenter\custom with the name scripts and then add the custom scripts to be executed. 

Example of a custom scripts : primary contact only needs view of account's requests and not the default view which consists of My Open Requests, My Requests On Hold
My Pending Requests, My Resolved Requests, My Completed Requests, My Closed Requests, All My Requests.

this is the custom script. 

if(location.href.indexOf("/") > 0){ 
jQuery(window).bind("load", function() { 
if (!scp_user.IS_SUPPORT_REP) {
    delViewArr = ['My Requests', 'My Open Requests','My Requests On Hold','My Pending Requests','My Resolved Requests','My Completed Requests','My Closed Requests','All My Requests'];
    for (i = 0; i < delViewArr.length; i++) {

      New to ADSelfService Plus?


            • Related Articles

            • Phone number need to be mandatory in 8.1 for contacts

              Kindly follow the steps below to create the FAFR, 1. Access admin Module 2. Select the request template option and click the edit option the required request template the script needs to be applied on 3. Select the Fields and Forms Rule tab and paste ...
            • Query to find Contact roles

              All requests from their account and sub account  SELECT aaauser.FIRST_NAME "Contact Name",org.NAME "Account Name",ucinfo.EMAILID "Contact Email",ucinfo.LANDLINE "Contact Phone",ucinfo.MOBILE "Contact Mobile",ucinfo.FAX "Contact Fax" FROM AaaUser ...
            • Script to Notify Support Reps when a new reply is received for Unassigned Requests

              Please do follow the below steps to notify support reps when an unassigned request is updated or when a reply is received.  1. Download the configuration.json file, file, requestobj.json file from the below link: ...
            • Scripts to update request status when a new reply is received.

              Please do refer to the below steps to change the status when a Contact sends a new reply to the ticket.   1. Download the script files from the below link and extract them and place it under..\ManageEngine\SupportCenter\integration\custom_scripts - ...
            • Delete requests

              If you would like to delete the older requests, you could use the below query. Connect to the Database For MSSQL: delete from workorder where dateadd(s,datediff(s,GETUTCDATE() ,getdate()) + (CREATEDTIME/1000),'1970-01-01 00:00:00') <= ...