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 


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

5. Save the script 

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

      • Related Articles

      • Route from default request to service catagories

        To route from default request page to service catagories Kindly follow the steps below, Access the Admin Module Select  incident template>>Feilds and Forms Rules Create a new rule, paste the script and save it I have attached a screenshot for ...
      • Hide templates from drop-down while using a specific template using FAFR

        The below script can be used in the respective incident template under Form Load section of Field and Form Rules. if(["Application Crashes Frequently","New incident"].indexOf(jQuery("select#template_box").select2("data").text)==-1){ ...
      • 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 ...
      • Workaround for Bulk mark/remove default technician option

        Feature ID: 14285. This Workaround works only from version 10.5. Also take a backup before implementing the steps. Bulk mark default technician option: 1-> Go to Admin -> technician list view -> Select All Accounts and All Sites -> Bulk select ...
      • How to diff of two Date& Time fields using FAFR

        If you have two date and time additional fields or default fields, and if you want to capture the difference between those two fields in Hours and minutes, then use the below script to capture the value in an additional field, Under the respective ...