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

Forum Posts

Resolved! Require unique value on a field

Good morning. How can I set up a field to query the table for unique values before allowing me to save a record to the table?I wasn't sure how to word it but here's what I am doing.   We are creating new vendors and need to check and make sure the "V...

carlh by Kilo Guru
  • 7516 Views
  • 11 replies
  • 13 helpfuls

Resolved! Dynamic Ref Qual on string field

Hello Experts, I'm struggling with the development of a reference qualifier on the Call table (new_call). When a call record is submitted, it may create a incident if the call type selected is incident. During the creation of the incident, a few fiel...

find_real_file.png

Get current user's role(s)...?

Does anyone know how to get a list of the current user's roles by sys_id?   I've tried using the getRole() function but it doesn't return anything.   According to the wiki article Getting a User Object - ServiceNow Wiki "getUserRoles() -- returns the...

uluerje by Mega Expert
  • 25722 Views
  • 9 replies
  • 5 helpfuls

Help text on table field (at top)

I would like to add help text on a table field. I know I can use g_form.showFieldMsg in a client script to do this.  However, I would like to show the info message at the top of the field, not the bottom. Any ideas?

xiaix by Tera Guru
  • 1820 Views
  • 5 replies
  • 1 helpfuls

Find a deleted business rule

I have a Custom task table containing a field 'OWNER', on which I have applied a Business Rule which was supposed to mark a State to 'Closed Complete' as soon as if any change occurs in 'OWNER' field. By some reason I deleted this business rule and w...

Resolved! Need to delete a Mass number of Assets but not the associated CIs

Hi Developers, I have a requirement to delete assets for some specific Model Categories but the associated CIs with the assets should not be deleted. I can see "Delete asset only" UI action on "alm_hardware" table but we have to delete a lot of recor...

Sreeja3 by Giga Contributor
  • 3403 Views
  • 3 replies
  • 4 helpfuls

retrieving value from comments field in sysapproval table.

when the approver approves ,he enters a unique code in the comment and i need to retrieve that value and update in a new field in ritm table. its journal input type and it shows my name ,time stamp and then the value appended. i tried both -1 and 1. ...

Chinmayee1 by Giga Contributor
  • 1935 Views
  • 3 replies
  • 0 helpfuls

GlideSPUtil in Service Portal

Hello Team, Good Afternoon to all, I want to know about new GlideSPUtil().getPageUri(). What is the use of this method? We can not use GlideSPUtil in scoped applications. What is the alternative to this method?

Table column label is not display

please look at the picture belowe , table column label is not display ,why ?   but  double click column label after ,column label have value . just only read ,can't update success .  it very headache . who know how to fix it ?  thks .    

find_real_file.png find_real_file.png
jackphang1 by Kilo Explorer
  • 3274 Views
  • 4 replies
  • 0 helpfuls

Resolved! Move Submit and Order Now buttons in Catalog

Had an interesting request from a user about the location of the Submit and Order Now buttons in the Service Catalog.  On multi-page forms the user must scroll back up in order to hit the Submit button.  I will say that going on 3 years, this is the ...

sgmartin by Kilo Guru
  • 2174 Views
  • 1 replies
  • 2 helpfuls

HTML Formatting on Service Portal

I have a catalog item that is available from our Service Portal. The form for this catalog item has a label variable with some instructions for viewing a knowledge base article. I would like to be able to format this text to be highlighted so that it...

westonr by Tera Contributor
  • 3304 Views
  • 3 replies
  • 2 helpfuls