O'Reilly logo

Mastering ServiceNow by Martin Wood

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Jelly in the CMS

All this Jelly is rather interesting, but how can we use it to enhance our portal? The layout of the portal is all custom, but we rely on the standard forms and lists layout. Although they are functional, they are not very attractive. So, how can we make them better?

Some Jelly has already been used to build the page's title. So, let's review our first foray into more advanced CMS implementations to see what can be leveraged.

Using Dynamic Blocks

The GH - Page title Dynamic Block is very simple. It contains a single JEXL expression:

${current_page.getTitle()}

This uses a global variable called current_page, and the getTitle function is called to return. We also know that it's done in phase 1. The current_page variable gives access ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required