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

Forum Posts

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
  • 2287 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
  • 3866 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
  • 4065 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...

Which syntax should I used instead of 'current' in client script.When I use 'current' it is getting run time error and showing the message 'The object "current" should not be used in client scripts.'

Which   syntax should I used instead of 'current' in client script.When I use 'current'   it is getting run time error and showing the message 'The object "current" should not be used in client scripts.'

rock2freedom by Mega Contributor
  • 10372 Views
  • 4 replies
  • 7 helpfuls

Resolved! What does \${} do in Client Script?

I just had to copy and tweak an OOTB Client Script so that the "Highlight VIP Caller" for Incident, also worked on the Call form (new_call).I got it to work, that is not my issue. My thing is that I like to know WHY and HOW things work, but I couldn'...

scwillson by Mega Guru
  • 4447 Views
  • 3 replies
  • 8 helpfuls

Resolved! How can I have a report display on a form?

I have a requirement to display a metric report on a form. I understand I can have a UI macro added to the form through a formatter, but how do I get the report to render within the macro? Is this possible?

Blair5 by Tera Guru
  • 3296 Views
  • 8 replies
  • 4 helpfuls