UI page on bootstrap framework

Pastupe
Mega Guru

Hello,

If I would like to create UI page based on bootstrap framework, what is the best practise to refence bootstrap framework from UI page in SN ?

Should I call some bootstrap external link or is there some library in SN that I can reference and how ?

PS: we are on Istanbul version

Please share with me the best practices

Thank you for helping me

/Petr

2 REPLIES 2

Rajesh Annepak1
Kilo Guru

Hello Pastupe



Please refer to the below link , It might be helpful



Bootstrap 3 Carousel - ServiceNow CMS Content Block Type - YouTube




Please hit Correct/ Helpful based on your impact



Rajesh


Rushit Patel2
Tera Guru

bootstrap is already loaded by servicenow on the backhand so you can directly use bootstrap code in UI page. however i think they have modified bootstrap code.



if you dont need libraries that servicenow loads on UI page then you can mark UI page as direct and load bootstrap on your own using CDN link or via UI script.


find_real_file.png



I have made full application using this way which loads bootstrap, angular , jquery everything using UI scripts and CDN.


search on Share site "ToDoNOW(WunderList Integration) using AngularJS"



ServiceNow Share




(please mark helpful/like/correct if it helps)