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.

How to import external library in Script include without coping the code of external library?

Hima
Tera Contributor

I wanted to import an external library in the scope application. I don't want to copy the code of the library and paste it into ServiceNow. Can we include an external library?

1 REPLY 1

Community Alums
Not applicable

Hi @Hima ,

You'd just have to host that external library somewhere on your instance. You could put it into a script include and then initialize it from wherever you need it.

Go through below links :

 

https://community.servicenow.com/community?id=community_question&sys_id=01b24361dbd8dbc01dcaf3231f96...

 

https://community.servicenow.com/community?id=community_blog&sys_id=dcfc62a5dbd0dbc01dcaf3231f961924