The CreatorCon Call for Content is officially open! Get started here.

What are JS Includes?

jordimsant
Tera Guru

I am having a look around widgets and I have just bumped into with JS Includes. I don't know what they are nor how they work, and I am not capable of finding it in the ServiceNow documentation. Can anybody recommend me some source to read about them or just explain me what are they and how they work? Thanks in advance!

2 ACCEPTED SOLUTIONS

Ankur Bawiskar
Tera Patron
Tera Patron

@jordimsant 

js includes are basically used to load external libraries and then use within ServiceNow platform and added as dependency on widget

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

Simran Gadodiya
Mega Sage

Hello @jordimsant 

You can refer below mentioned articles, 
https://www.servicenow.com/community/developer-articles/service-portal-javascript-libraries-included...

If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards,

Simran

View solution in original post

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@jordimsant 

js includes are basically used to load external libraries and then use within ServiceNow platform and added as dependency on widget

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Simran Gadodiya
Mega Sage

Hello @jordimsant 

You can refer below mentioned articles, 
https://www.servicenow.com/community/developer-articles/service-portal-javascript-libraries-included...

If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards,

Simran

Here talks about JSON libraries. How do these libraries work, you know?