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

Forum Posts

Resolved! Script Include Questions??

Hello Friends, Can someone please answer some questions on Script Include:1: What is difference between classless (on-demand) Script include & class Script Include, since I have seen some script include where we are directly using functions. Below ar...

basantsoni by Mega Guru
  • 3288 Views
  • 4 replies
  • 11 helpfuls

Resolved! How to set a Related List Incident with Active records

Hello Experts,I am facing problem with Views under user table,I wanted to add a Related List of Incident->Assigned to under user table which i did on Default view and i got it right, but i want only Active records which i need to make default filter ...

Validate email field input

I have a client script which will ensure input into an email field contains a valid email address:function onChange(control, oldValue, newValue, isLoading, isTemplate) { //If the page isn't loading if (!isLoading) { //If the new value isn't ...

gaidem by ServiceNow Employee
  • 19207 Views
  • 14 replies
  • 24 helpfuls

Resolved! Form Design Options

Hi All,I've just added a new tab and numerous fields on our incident form.   We have set the tab as 2 columns, but we have an odd number of fields, the last field being a string field with a limit of 2,000 characters.   Is it possible to change this ...

find_real_file.png find_real_file.png
Sam Ogden by Tera Guru
  • 2675 Views
  • 3 replies
  • 2 helpfuls

How to close or terminate a gliderecord

I wondering if there is some way to clean up the gliderecords as i go forward in my scripts. I'm currently working on some UI pages, and to get te data I need I have to ask e few (some times a lot) different query's towards different tables in the da...

Resolved! Create Reference ICON next to the string field

Hi,I have requirement like to create Reference Icon next to a string field in change request form.When mouse is hovered on the icon, it has to display some text or sentences in it.Can any one please post code or steps to achieve this requirement.Than...

find_real_file.png

Client Side Code logging ….

Hi Friends,In Service Now, Do we have anything to checking logging of client scripts like Business Rules, UI/Data Policies? By logging technique we'll get to know which client scripts (java script) code is working or running by actions or events.Rega...

basantsoni by Mega Guru
  • 6951 Views
  • 6 replies
  • 5 helpfuls

Resolved! How to set the Date Format

Hi,I have written some Validation to the Date Field , i.e, The Date field should be filled by default on "Onload"   with some specific Date.Everything is working fine except the Date Format. OnLoad the Date format is "YYYY_MM_DD" but on selection of ...

msm4 by Mega Guru
  • 10227 Views
  • 9 replies
  • 2 helpfuls

Resolved! Confirm box on a ServerSide/Client Side UI Action

I have a UI action that is a Client side and Server Side.   I already have an onClick defined for the UI action.   However, my user's want a confirmation box to popup asking if they are sure they want to complete the action.   Does anyone know how I ...

Stacy1 by Mega Guru
  • 15709 Views
  • 4 replies
  • 5 helpfuls

Resolved! UI Macro button redirect URL not working

Hi,  I created a UI Macro button that's supposed to redirect to a new table, but it doesn't seem to work. It somehow always attempts to create a new incident record instead.  So I created a new macro with the following code:  <?xml version="1.0" enco...

dlj23 by Kilo Explorer
  • 5175 Views
  • 7 replies
  • 1 helpfuls

Resolved! Writing to the Activity Log for User Records

So, when a user becomes inactive, we would like to remove all their groups (for security reasons - we have a lot of rehires).   I found an old thread with code on how to do that which works great (How do I remove a user from all groups using a script...

jmiskey by Kilo Sage
  • 3106 Views
  • 4 replies
  • 1 helpfuls