Hide Asset

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 script on Form Load,

//Hiding the asset in details page (In-line Edit) 

and save.

This will hide the asset when the template is selected.

          • 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 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.  Solution Under Admin >> Incident Template >> Field and Form Rules Tab, create a rule as specified below  Script: ...
          • Query to find asset history

            Use Case  The below will provide a report on the updates made on an asset  Query  select resources.resourcename as "Asset Name" ,auditoperation.operationstring as "Operation Performed", cihistorydetails.attribute as "Altered ...