script include from ui policy

tushar_ghadage
Tera Contributor

Hi Everyone, 

Can we call script include from UI Policy ...? and if yes how and does calling script include from Ui policy make no sence ..?

 

thanks 

 

8 REPLIES 8

Dr Atul G- LNG
Tera Patron

Hi @tushar_ghadage 

 

You should be able to call your script include in the script section of the UI Policy, just check the advanced box. UI Policy script section is like client script.

https://docs.servicenow.com/bundle/orlando-application-development/page/script/ajax/topic/p_AJAX.htm...

 

****************************************************************************************

Regards

Dr. Atul G. - Learn N Grow Together ServiceNow Techno - Functional Trainer

LinkedIn: https://www.linkedin.com/in/dratulgrover

YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG

******************************************************************************************

Okay and is the syntax the same as we use for client script ..? 

 

you can check in above link.

****************************************************************************************

Regards

Dr. Atul G. - Learn N Grow Together ServiceNow Techno - Functional Trainer

LinkedIn: https://www.linkedin.com/in/dratulgrover

YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG

******************************************************************************************

I did check but nothing mentioned specifically regarding the Ui policy, but no problem got the point.