The CreatorCon Call for Content is officially open! Get started here.

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

Forum Posts

ref_ac_columns problem in a glide list field in catalog

Hello people, do you know why by using ref_ac_columns in glide list in a requested item form we can not show different details of the searched object from backoffice? we use a glide list as a watchlist variable in catalog items, i want to show email ...

gozde1 by Kilo Contributor
  • 1007 Views
  • 2 replies
  • 0 helpfuls

setRequestBodyFromAttachment is not working (RESTMessageV2)

Hi folks! I am wondering, that there is no solution, after so many years.. If i use the given example of setRequestBodyFromAttachment, i get an empty Request-Body. Tested in background-scripts, script-includes and Xplore. Here is the example Code.. l...

SIMTEC by Kilo Contributor
  • 2623 Views
  • 5 replies
  • 1 helpfuls

Resolved! How to make variable visible only on specified task

Hello All, I have a requirement where a particular variable should only be visible on the particular task for suppose after the submission of the catalog item A task is generated once the state of task A is completed task B is generated where I need ...

Sai Akhil by Tera Contributor
  • 2344 Views
  • 3 replies
  • 1 helpfuls

Resolved! auto populate current date

Hi All,I have a requirement where i have to auto populate a date field based on the field ('information' - field type is checkbox). If the checkbox is checked then populate today date in the date field. How can i achieve this, please help. Thanks in ...

SD29 by Tera Expert
  • 10320 Views
  • 9 replies
  • 10 helpfuls

Resolved! Get Column Label Names for Incident Table with Rest API

How do I query the rest API for Column Label Names?  I can query one incident to get all the columns like this. https://myDev.service-now.com/api/now/v1/table/incident?sysparm_limit=1   But I need to get all the labels for each of the columns

find_real_file.png find_real_file.png
Tim McFadden by Kilo Contributor
  • 5991 Views
  • 19 replies
  • 7 helpfuls

Resolved! JSON.stringify not working in portal client script

I have a client script running within a portal widget which calls JSON.stringify to convert a javascript array to a JSON string. When the call is finished an empty string is returned. It generates an empty JSON string of '[[]]'. Shouldn't JSON.string...

Resolved! Adding field icon in script

I'm using the following code in a UI Policy to add a gold background color to my Contact field on my case form, when a certain value (TRUE) is set on a field in the Contact table. This is working successfully. However, I'd like to add an icon instead...

find_real_file.png
MStritt by Tera Guru
  • 3649 Views
  • 15 replies
  • 2 helpfuls

Resolved! Client script for checking special characters in a field

I have a requirement to validate a field which should not have the following characters ' @ , . / \ ' . I am using the following script : function onChange(control, oldValue, newValue, isLoading) { if (isLoading || newValue == '') { return; } var spe...

AmritaT by Tera Expert
  • 2546 Views
  • 2 replies
  • 0 helpfuls

Resolved! Is there REST API to get a list of configuration items with details

My ServiceNow instance is in New York version, but we expect customers will use other versions too. I am trying to get back a list of configuration items with details in each item using REST API. From my REST API Explorer, I use this REST API: GET ht...

Mei1 by Tera Contributor
  • 8705 Views
  • 2 replies
  • 2 helpfuls