Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

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