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.

Is it possible to call ui script from Script Include?

miyu
Tera Guru

Is it possible to call ui script from Script Include?

1 REPLY 1

Sagar Pagar
Tera Patron

Hi @miyu,

 

Unfortunately, no. There is no way to call it from a server-side script.

UI scripts are reusable client-side JavaScript similar to Script includes in server side scripts.

 

We can call UI scripts in Client side scripts only - example -Client scripts, catalog client scripts.

 

For reference - UI scripts 

 

Thanks,

Sagar Pagar

The world works with ServiceNow