Disable Default Template - Using FAFR

Disable Default Template - Using FAFR

1. Navigate to Admin>Incident Template>> Edit Default Template 

2. Select Field & Form Rules Tab

3. Select On form Load 

4. Make sure to select "Applies to Technicians" and set the action as Execute Script and paste the below script 

jQuery(document).ready(function(){
     
          window.location.href="/Templates.do?module=mergedRequest";
  
}); 

   /*alert("You have no permission to access this page.");
     if (jQuery('button[onclick="location.href=\'/Templates.do?module=incident\';"]').length > 0) {
        jQuery('button[onclick="location.href=\'/Templates.do?module=incident\';"]').click();
     }
     else {
        jQuery('button[onclick="location.href=\'/Templates.do?module=mergedRequest\';"]').click();
     }*/

5. Save the script 




The above template will redirect the technicians from default template to template categories.

                  New to ADSelfService Plus?