Jelly UI Page - less than / greater query
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-01-2013 08:27 AM
Hi All
I'm trying to write a UI page to do a glide query with a 'greater than' or 'less than' operator but the xml doesn't like it !
How do i do .....
gr.addQuery("priority", ">", "3");
or ...gr.addQuery("priority", "<", "3");
I'll also need to run queries by date also.. something like...
gr.addQuery('u_time', '<', start);
I've had a look at using ${AMP}lt; and ${AMP}gt; but can't seem to get the syntax correct.
(http://wiki.servicenow.com/index.php?title=Extensions_to_Jelly_Syntax#Less_Than)
UI Page XML attached.
Hoping that this is a very quick syntax issue.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-01-2013 09:15 AM
Thanks Neetu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-01-2013 09:16 AM
To have it work for either Boolean value of glide.ui.escape_text, you could use the Jelly substitution "${LT}" instead of "<".