How to show only specific categories in a request template

How to show only specific categories in a request template

Use case

There are scenarios where on a particular template only selected categories should be available as an option. 


Under Admin >> Incident Template >> Field and Form Rules Tab, create a rule as specified below 


$CS.addOptions("CATEGORY",["General", "Desktop Hardware", "Software"]); 

          • Related Articles

          • 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){ ...
          • Customize the category list/selection based on template.

            The Category applies to all the templates in SDP-MSP.  You can hide them using the field and form rules to make them unavailable for users.  Under Admin >> Incident Template >> Edit the template in questions >> Field and Form Rules tab. You can ...
          • 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  ...
          • How to read the data from a csv file and place it in a request additional fields using FAFR ?

            At times, we may need to populate the values in a specific request additional field from a CSV file. To address this requirement follow these steps using FAFR. 1.Place the CSV file in the custom folder >> <Home>/custom/*.csv 2.Create request ...
          • Hide Asset

            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. Edit the incident/service template from which the asset needs to be hidden and include the below ...