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

Forum Posts

Disallow Special Characters to enter in text field

Hi Friends,I need help in scripting to "Disallow Special Characters to enter in text field".on celledit, i want the script not to allow to type special characters(!@#$%^&*()) except Alphanumeric(A-Z & 1-9).Can you please help me.ThnxMurthy

Regular expressions and script includes

I have a regular expression to validate/format phone numbers and I can get it to work in a client script. when I try it in a script include it fails on line 11, but no error message. It's not going to the else branch, I had a log statement there and ...

Frank by Mega Expert
  • 4320 Views
  • 4 replies
  • 0 helpfuls

Subscribable Notifications

I have read the wiki information on them (http://wiki.servicenow.com/index.php?title=Using_Subscription_Based_Notifications#Special_Subscriptions) and see that there is some special business rule magic going on to get them to work. I am not exactly s...

How to sort the reference lookup list

Hello,How can we sort the reference lookup list (popup window that appears when we click on magnifying glass) alphabetically?As an example , i have a reference field that references User table, on click of the magnifying glass the pop up that appears...

tj2 by Kilo Contributor
  • 5894 Views
  • 3 replies
  • 0 helpfuls

Add flag next to the user field

Hi all,I'm trying to add a small flag next to user field in the incident form depending on the manufacturer of the computer assigned to him (cmdb_ci table).I'm trying to do something pretty simple, based on the VIP flag which is shown when a user is ...

Hichem by Mega Expert
  • 2863 Views
  • 10 replies
  • 0 helpfuls

Filter Configuration Item results in Change Request

Hello,I have been having trouble for a little while now in attempting to filter results in the Change Request application for Configuration Items.At first I attempted to do it via a Business Rule for Change Requests but at first it ended up not filte...

log5212 by Tera Contributor
  • 2393 Views
  • 4 replies
  • 0 helpfuls

Creating Embedded List like function on a Catalog Item

Hi,We are trying to create a catalog item with a function which looks similar to the embedded list. http://wiki.service-now.com/index.php?title=Embedded_ListsThe idea is to provide the end user with a set of variables and the ability to create multip...

markg_TIN by Kilo Explorer
  • 2342 Views
  • 4 replies
  • 1 helpfuls

Call stack or tracing available

I have a repeated warning in my logs about a function not being defined:org.mozilla.javascript.EcmaError: "getAssignableMembers" is not defined. Caused by error in at line 1==> 1: getAssignableMembers()Is there any way to get more debug information ...

Retrieve all the Field Names of change_request table

The table change_request is used to store the details of all the change requests in service now. I would like to know what are the fields in that table.Is it possible to get that list by using any functions on GlideRecord api or any api ?

ajith3 by Kilo Explorer
  • 4541 Views
  • 4 replies
  • 1 helpfuls

How gs.endOfToday Works ?

Hi All,was trying to find out how exactly this gs.endOfToday() function works wiki says >>>>>>>>>>>>>2.28 endOfToday()Gets the date and time for the end of today in GMT..................................................following is the output of this ...

ravi154 by Giga Contributor
  • 3527 Views
  • 2 replies
  • 0 helpfuls

Resolved! script to check for group membership in an array

I am building a form and related workflow to allocate roles based on groups selected from a slush bucketMy current script pulls the selected groups into an array and then inserts the values onto the sys_user_grmember table.What i would like to do is ...

NeilH2 by Giga Guru
  • 3462 Views
  • 2 replies
  • 2 helpfuls

Location map - Latitude and longitude

Hi,Is there an automatic function that fill the latitude and longitude fields if there is an address in the location record?We have a lot of locations and I didn't find a better than going to this website to find the info one by one...Thanks a lot!