Jelly Script use in UI Page

Ketan Pandey
Tera Expert

Please help me to understand :- when to use Jelly script in UI page and Should we use Jelly script to build UI pages or not

3 REPLIES 3

Maik Skoddow
Tera Patron
Tera Patron

Hi

Basically a UI Page is nothing else than a web page that can contain any web-based technology like HTML, JavaScript or CSS. But in 99% of all cases you want to display ServiceNow data or elements and that's where Jelly comes into play.

You could also load the data from client-side via REST calls and then render it with self-implemented UI elements but that means a lot of work and costs.

Samaksh Wani
Giga Sage
Giga Sage

@Ketan Pandey 

 

Jelly script is comprised of XML and HTML code. Jelly brings in its own set of XML tags, known as Jelly tags, using a specific XML namespace. ServiceNow has also implemented some extension to Jelly tags, referred to as Glide tags. The Jelly scripting is only used in UI macros and UI pages that run on the server.

Luiz Lucena
Mega Sage

I'm in the same boat as you and this documentation page has been very useful for me.

The videos are little old but very interesting.

https://docs.servicenow.com/bundle/vancouver-api-reference/page/script/general-scripting/reference/r...