I want to use client script for self service view only but i don't what should i fill in view field.

harshchaudh
Tera Contributor
 
1 ACCEPTED SOLUTION

@harshchaudh 
navigate to System UI > Views:

KamilT_0-1752403922411.png

For self service view, you will be referring as "ess" (employee self-service).

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


View solution in original post

10 REPLIES 10

I want to know the backend name of self-service view please tell me.

@harshchaudh 
navigate to System UI > Views:

KamilT_0-1752403922411.png

For self service view, you will be referring as "ess" (employee self-service).

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


Arun_Manoj
Mega Sage

Hi @harshchaudh 

 

https://www.servicenow.com/community/developer-forum/how-to-write-a-client-script-for-specific-view-...

 

Please check the below screenshot:

 

Remove the global checkbox and provide the view name, global means it will work for all the views

 

Arun_Manoj_0-1752397262708.png

 

 

If my answer solved your issue, please mark my answer as 

Arun_Manoj_1-1752397262421.png

 

 Correct & 

Arun_Manoj_2-1752397262449.png

 

Helpful based on the Impact.

 

 

prerna_sh
Mega Sage

Hi @harshchaudh 

Simply enter your desired view name in the "View" field. Since you want to apply this specifically to the Self Service view, make sure to uncheck the "Global" checkbox and input the view name. That’s all you need to target the configuration to that particular view.



If my response solves your query, please marked helpful by selecting Accept as Solution and Helpful. Let me know if anything else is required.
Thanks,
Prerna

harshchaudh
Tera Contributor

I fill the self service in the box it shows error message for that name please tell me the correct name for the self-service view