Where to store images, scripts, and CSS

Bradley Ross
Tera Guru

For years, we've maintained a separate server hosted in our own data center where we could store little images, videos, or other bits of content that were displayed on our CMS pages. There are limits to the types of images you can upload to SN, and there isn't a folder hierarchy to keep images, scripts, and styles organized together.

I'm not a ServiceNow developer, so perhaps I'm missing something obvious. It seems that the structure provided out of the box from ServiceNow to put everything into a UI page records, UI macro records, etc., is pretty tedious compared to just uploading content to a server and having it render in a browser.

Do you use a separate server to host content for your ServiceNow pages, especially custom UI pages? Or do you upload all the little bits of JavaScript into their own records on the various tables? I've got a designer who cranks out beautiful little snippets using Adobe Edge Animate, but there are a lot of little files and images I'd need to upload one by one--unless I'm missing the preferred way to handle styled packages of HTML, CSS, and JavaScript.

2 REPLIES 2

Inactive_Us1474
Giga Guru

Hi,



You can store the CSS files in CSS module under Service Portal, the images can be stored in images modules.


You can add them to your UI pages for CMS under using style and javascript tags.



Hope it helps.


What I'm wondering is is people have had success in avoiding breaking up their code into separate tables. While it is possible, it seems so tedious compared to standard web development.