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

Forum Posts

CustomEvent.observe in UI16

I have a requirement to display a disclaimer alert when a user initially logs into the instance. Before upgrading to Helsinki and UI16, I utilized a global UI Script with the following code:CustomEvent.observe('user.login',function(){alert('Custom Al...

SLA/OLA setup

Hi everyone, in our instance we have 4 different SLA for each priority for different assignment groups that are working fine with retroactive start. We need to set up OLA for each priority and assignment group, without using the retroactive start, be...

Change the Sys_popup View for reference fields

Hello Everyone, I am having a requirement to change the view of the form displayed on clicking of the info icon of the reference field.  I have tried the steps provided below: The format is: "sys_popup,viewName" ->So, let's say you have a record in...

find_real_file.png find_real_file.png
Community Alums by Community Alums  
  • 6022 Views
  • 3 replies
  • 0 helpfuls

gs.isMobile() only works for admin?

So I got this odd response from ServiceNow support I thought I'd bounce off the community.  This is what I was told:"If gs.IsMobile() is always returning false, this is expected behavior from the mobile app, if you do not have admin role. Can you con...

jdiegeliv by Mega Expert
  • 2434 Views
  • 3 replies
  • 1 helpfuls

Resolved! Powershell ServiceNow API

What should i do with the {request.body ? "$body = \"" :""}}Because it show the errors when execute in Powershell script?Thanks,# Eg. User name="admin", Password="admin" for this code sample.$user = "admin"$pass = "admin"# Build auth header$base64Aut...

find_real_file.png
David Vu1 by Kilo Expert
  • 10444 Views
  • 8 replies
  • 7 helpfuls

Resolved! Help with for loop

Hi, I am writing a script, where it will have numbers something like this below var string = 69,110,103,108,101,119,111,111,100,67,111,108,111,114,97,100,111,56,48,49,49,50,85,83,65; SUM = 2236; Length of the above numbers are 25 If we divide sum wit...

Attachments in restricted scoped applications

Hi All, I've found that in a custom scoped application where a table is set to be accessible only from that scope, adding an attachment will generate this error on accessing the table record: Read operation against '...' from scope 'rhino.global' has...

tim2222 by Giga Guru
  • 3207 Views
  • 4 replies
  • 0 helpfuls

Resolved! Reference Qualifier for a related list

Hello,  I am trying to use a reference qualifier on a related list. The related list is pointing to a custom table, joined together by many-to-many table. I am trying to limit the results on the related list by ensuring that we have the same company ...

John Prahn by Kilo Contributor
  • 6514 Views
  • 9 replies
  • 2 helpfuls