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 not working in specific view

srikanthbala
Kilo Explorer

Hi Friends,

 

I created a client script with Type = onChange and Global = True.

Strange part is that it is working fine only in default_view but not in other views though it is Global script..

 

Can any one of you help me to fix this?

 

Thanks in advance,

Sri

6 REPLIES 6

Jogen
Kilo Guru

Your client script must have conflicts in other views . So it is not reflecting or acting on the other views. Disable those first and apply this client script.





Thank you so much, there was a conflict in another view. I resolved it.


Hi,

 

Could you please let me know how to check the conflict in other view and resolve it. I'm facing the similar issue.

 

Thanks and Regards,

Lavanya C

User140988
Kilo Guru

You can try to switch on the debug option and also have alert messages to identify the issue. The client script can have a conflict with another conflict or UI policy or also because of another client script or UI policy, this might not be getting executed.