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

Articles

Repurposing Conditional Statements (if/else)

In a previous article titled Checking truthy/falsy alternate approaches to conditionally check truthy/falsy values was introduced. This post will expand on the statement made in Checking truthy/falsy where it was suggested that a truthy/falsey condit...

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
  • 9328 Views
  • 5 comments
  • 12 helpfuls

Difference between GlideRecord() and GlideAggregate()

Hi All, As a developer, sometimes while querying data, we get confused about what should we use between GlideRecord and GlideAggregate? And is there any difference between them? Or they are the same? Or if they are different from each other then what...

Vaibhav        by Giga Guru
  • 10360 Views
  • 1 comments
  • 29 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
  • 2295 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
  • 7299 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 Giga Sage
  • 4582 Views
  • 1 comments
  • 7 helpfuls
Top Contributors