We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

Forum Posts

Default view removed after changing it via list view

We recently had an issue where a tech was getting put into the major incident view even when he was clicking on create an incident.  We discovered that he was at some point in the list of all open incidents and changed his view.  When we tried to go ...

find_real_file.png find_real_file.png
brianlan25 by Kilo Patron
  • 2386 Views
  • 9 replies
  • 1 helpfuls

Display list in Dialog window when a UI Action is pressed

Hello, I want to display the asmt_metric table as a list in a GlideDialogWindow. The code below is what I have. "GlideDialogWindow( )" takes a UI Page as the parameter. However I was under the impression that if you use the "setPreference('table', 't...

UI Action Redirection for form and list acion

Hi All,I have a requirement as below,I want to use one UI for both form and List. But when i click the UI action in form it should redirect me to different page when i click in list it has to redirect me to different page. How to achieve this in one ...

malaisamyj by Tera Contributor
  • 2513 Views
  • 6 replies
  • 1 helpfuls

Resolved! Can you dot walk on a document_id field?

I've got a document_id field on my Approval records that I'd like to pull information from for an email notification. Dot walking the normal way doesn't seem to work on the document_id field, the values don't resolve to anything. Is there a correct s...

Impersonate for non-admin users

Hi All, I have created new Role called  "Impersonate Another User" & provided "impersonator" role to that user. Now user can see impersonate user tab on their profile. But they can't search for users, so that I have created 2 new ACLs on sys_user tab...

SNOW User8 by Giga Guru
  • 6304 Views
  • 12 replies
  • 2 helpfuls

Resolved! Set value on table from template_value field

I have a field which is typed as a template_value on a record.I want to take the values from the field and apply them to another record.I've done this before and i just cannot think of the code that does it although i'm fairly certain its one - two l...

NeilH2 by Giga Guru
  • 3244 Views
  • 7 replies
  • 4 helpfuls

Resolved! Can you apply client script to order guide variables?

Is it possible to apply a client script to a variable on an order guide much in the way you can apply a Catalog Client Script.  We ask for a Cost Centre on all orders for HW, and have it set so that it has to be 10 numeric characters. This works fine...

gregmc83 by Kilo Guru
  • 2459 Views
  • 2 replies
  • 0 helpfuls

Resolved! How make Form widget read-only except Activity stream

Hi guys is there any way to make the form widget read-only but keep the activity stream open for input? Reason being is that for our Phase 1 iof Service Portal roll out, we only need to deliver a minimum viable product. So basically submission of req...

Resolved! I want to force password change every 90 days.

I want to force password change every 90 days. I would like to set the last update date column of the password I added to the sys_usert table using ValidatePasswordStringer.However, if called from "Forget password", we can not get user ID.This is bec...

chanken by Tera Contributor
  • 2073 Views
  • 1 replies
  • 0 helpfuls

Resolved! Get number of records returned in GlideRecords

Hi, Is there a way to check the number of returned records using GlideRecord and not GlideAggregate? I need to query a record, but if the query return more than one result, i need do something else. I know that i can do GlideAggregate with COUNT, and...

VIP User Popup

We are a relatively new user of ServiceNow which has recently gone live as part of our managed services contract and a function that I have been asked to look into is to have a java popup triggered from the user ID field for some of our VIP users tha...

inzomniak by Kilo Explorer
  • 9987 Views
  • 18 replies
  • 0 helpfuls