Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

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

Forum Posts

Objects returned from g/g2:eval in Jelly Scripting

OK, So I have the following simple UI Page Jelly XML , but it's returning me some strange results.This is just a test page to prove something is working.... I have an object in JS that I want to pass out to Jelly. I want to then check for an error pr...

sn-n00b by Kilo Explorer
  • 1827 Views
  • 2 replies
  • 0 helpfuls

Resolved! Create file on remote server with PowerShell

I am trying to modify the MID Server Script file: LaunchProc.psm1 to create a file on the remote server instead of executing a command.But nothing appears to happen. I pass the text to write in the file via a parameter $xmldoc and the destination com...

Omit Drill Down Links

Hi All,Anybody knows how to restrict drill down links from lists based on roles.Omit Drill down links checkbox is available OOB ,but did not find a script space to specify role.Thanks in advance

anindya_11 by Giga Contributor
  • 1539 Views
  • 3 replies
  • 0 helpfuls

How to get a single value using REST API?

I want the sys_id from a single row from the user table using the REST API. I don't want to go through the effort of creating a java object, creating the object (Json -> java), then retrieving the value. Is there a way to query so that I only get the...

santrym by Mega Expert
  • 7250 Views
  • 4 replies
  • 3 helpfuls

Resolved! Check date based on user date preference

Hello Folks,Need your expert suggestion.I have a field in my service catalog which check for date previous than current date but we recently found that users are changing date preference from system preference mm-dd--yy.is there a good way or code to...

eashwar by Tera Contributor
  • 2212 Views
  • 2 replies
  • 0 helpfuls

Default "List Layout" is not working for all users.

Hello,On Change Request and Incident "List layout", I have added 6 columns as default columns by navigating to "Right click on header of list >> Configure >> List Layout >> Added required column >> Save". Now, according to Servicenow default behaviou...

Resolved! UI Macro button on a field

Hello,I have a UI action that I want to convert to a UI Macro so that I can add it as a button at the end of a field.   Here's my UI action:var onCall = new MHSOnCall("SMS",current.u_other_on_call_group_1);var user = onCall.getPrimaryUserByGroup(); i...

find_real_file.png

Resolved! Script Include to get group membership

In an RITM, I have two variables (both reference).   One is a user reference and the other is supposed to be a list of the groups of which this user is a member, with the ability to choose one and populate the field with the assignment group.   These...

3-4-2015 10-26-44 AM.png

Reference cascade rule in Eureka

HI all,Is there any way to prevent empty reference field when referenced record is deleted.e.g.I'm creating incident with Caller "foo.bar" and after that i'm deleting him from "sys_user" table.Caller field is now empty, is it possible that his first ...

Przechwycenie obrazu ekranu_2015-11-10_12-47-40.png
grz by Kilo Explorer
  • 3474 Views
  • 4 replies
  • 0 helpfuls

Resolved! Auto complete in Reference Type Variable

Hi Everyone, any idea on how to modify the auto complete feature in a reference type variable.i have this issue with a variable referenced to sys_user table. it only allows you to enter first name of a user so that the auto complete will work.is it p...

vintotz by Tera Contributor
  • 3787 Views
  • 11 replies
  • 5 helpfuls

Resolved! Rest API vs JSONv2

Dear Development community,currently we have the BPPM process running in our configuration items using JSONv2 as web service.I'd like to know what are the difference between using the REST API and JSONv2, the pros and cons of using those different we...