How to import external library in Script include without coping the code of external library?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-29-2022 03:37 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-29-2022 03:46 AM
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_blog&sys_id=dcfc62a5dbd0dbc01dcaf3231f961924