Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Developer articles
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Articles

Nugget: Quickly retrieving a raw list of values

There are times that a quick list of display values are needed. Maybe it's just to snoop around, or list RITMS under a request in an email. Whatever the case might be, there is an quick way to do so: var gr = new GlideRecord('sc_task'); gr.setLimit(1...

ArrayUtil | ensureArray, convertArray, unique, diff

ArrayUtil ArrayUtil is an Out of the Box [OOB] script include which provides the ability to perform various cool functions related to Arrays. These functions will save you tons of custom lines of scripts and algorithms to play with arrays. It is docu...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png
MrMuhammad by Giga Sage
  • 12031 Views
  • 5 comments
  • 12 helpfuls

How To: Create a simple radial score indicator

Widget Creation Articles How To: Create an Infinite Scroll in the Service Portal - Article - ShareHow To: Create a simple radial score indicator - Article - Share   Preamble Sometimes it is useful to know how to display scores in your portal without ...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png
ben_knight by Kilo Guru
  • 5590 Views
  • 1 comments
  • 3 helpfuls

Tips and Tricks : MRVS (Multi Row variable set) : Part 2

How to hide/remove "Add" and "Remove All" buttons in multi row variable set Release worked on : London. Step 1 : Import attached XML file "sys_ui_script_2f9c4e0edb6f234060339c28db9619bf (1).xml"the jquery library in sys_ui_script table. After importi...

find_real_file.png find_real_file.png
Swathi12 by Tera Expert
  • 8489 Views
  • 2 comments
  • 4 helpfuls

Article #10 - Endeavors in Catalog Tasks

Hi Recently I walked over an interesting question in the Community, which I could not answer from top of my head, as it triggered my (the condition was met ;-)) to give this a shot and try it out while learning about it. Scenario: I want to have a Ca...

Checking truthy/falsy

From time to time the need arises to check if a value exists. Not if it's explicitly this or that rather, whether the value "exists" or not. In JS when a value is evaluated in a condition, the result is said to be either: true or false. A true or fal...

client Script set all fields to Mandatory & Visible

client Script set all fields to Mandatory & Visible UI Action / UI Policy   //For to set mandatory false (campos como - não obrigatório) for (var i = 0; i < g_form.elements.length; i++) { var el = g_form.elements[i]; var fieldName = el.fieldN...

image
tiagomacul by Tera Sage
  • 5217 Views
  • 1 comments
  • 7 helpfuls
Top Contributors