To route from default request page to service catagories
Kindly follow the steps below,
- Access the Admin Module
- Select incident template>>Fields and Forms Rules
- Create a new rule, paste the script and save it
I have attached a screenshot for reference.
Script:
try{
$req.form.destroyForm(undefined, false);
}catch(err){}
jQuery(document).ready(function(){
window.location.href="/Templates.do?module=mergedRequest";
});
I have attached a screenshot for reference.
Below is for users who are in 10600 and above :
The above steps will route the page from default request page in request module to service categories page, for addition measure you can also follow the steps given below,
- Access the admin Module
- Select page script module then add the below script
- Then disable if you have any script in the incident template in FAFR section.
Script:
jQuery("a[href='/WorkOrder.do?woMode=newWO']").attr('href',
'/Templates.do?module=mergedRequest');
jQuery("a[id='new-request-hi']").attr('href',
'/Templates.do?module=mergedRequest').prop('onclick', null);