We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to set my custom created view by default for all the ITIL Users

shaik_irfan
Tera Guru

Hello,

 

I created a View name it as 'ITIL Custom View' which i need to set it as default all the ITIL Users on Incident table. Can anyone please help me out with this 

1 ACCEPTED SOLUTION

try this,

 

(function overrideView(view, is_list) {

	if (gs.hasRole("itil"))	{
		answer = "ITIL_Custom_View"; 
		return answer;
	}
	answer = "ess";
	
})(view, is_list);

 

 

 

 

 

 

 

Beth has ITIL role,

 

View solution in original post

5 REPLIES 5

try this,

 

(function overrideView(view, is_list) {

	if (gs.hasRole("itil"))	{
		answer = "ITIL_Custom_View"; 
		return answer;
	}
	answer = "ess";
	
})(view, is_list);

 

 

 

 

 

 

 

Beth has ITIL role,