Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Client script doesnt work on SOW view

Sahar_Kaizer
Tera Contributor

Hi,

I created on change client script, it works on native ui but not in SOW although UI Type is ALL.

Sahar_Kaizer_0-1721899391410.jpeg

Thanks, 

Sahar.

1 ACCEPTED SOLUTION

Bhavya11
Kilo Patron
Kilo Patron

Hi @Sahar_Kaizer 

Please DO not use GlideRecord  in client script instead of that use GlideAjax and call script include.

 

Thanks,

BK

View solution in original post

5 REPLIES 5

Trupti94
Kilo Sage
Kilo Sage

Hi @Sahar_Kaizer ,

 

try to add view name-' sow' in view field of client script

Sahar_Kaizer
Tera Contributor

I already tried and it didnt help... Thank you 

Bhavya11
Kilo Patron
Kilo Patron

Hi @Sahar_Kaizer 

Please DO not use GlideRecord  in client script instead of that use GlideAjax and call script include.

 

Thanks,

BK

Sahar_Kaizer
Tera Contributor

I used GlideAjax with script include and it worked, Thank you!