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

Forum Posts

Hide categories in SC Categories widget

I would like to edit my clone of the sc_categories widget so that it does not display the list of Categories until a Catalog is selected; I don't want it to display all Categories in all Catalogs. Is there a way to do this?

Sarah Deady by Tera Contributor
  • 2597 Views
  • 5 replies
  • 0 helpfuls

UI Page using GlideAjax in Client returning null

Hello,First time posting here and new to ServiceNow! My issue is with my UI Page's Client Script/Script Include returning a null answer for the value.The basic goal of the code is to change an HTML button red/amber/green based on if the query is hitt...

brian4500 by Kilo Contributor
  • 2929 Views
  • 8 replies
  • 0 helpfuls

Replace getrowCount() by GlideAggregate in business rule

Hello, Below is the script where I am trying to replace getrowCount() by GlideAggregate, but it's not working as expected. The commented part is using getrowCount() and I want to change it to GlideAggregate. Code - (function executeRule(current, prev...

jinkal1 by Tera Contributor
  • 2089 Views
  • 3 replies
  • 1 helpfuls

org.mozilla.javascript.NativeArray issue

Hi, I'm writing a business rule and I wanted to compare the values in 2 arrays and then Find the elements present in all arrays. Below is the code I'm using. When I have put the logs gs.addInfomessage(countries.toString()) it is showing the values co...

find_real_file.png

Resolved! Documentation around "Edit scripted property value"

We looking to gain a better understanding around UI Builder.  One of the features we want to better understand is the "Edit scripted property value".  The documentation seems pretty light out in the docs site and community around this.  Anyone have s...

find_real_file.png