Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

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

Forum Posts

Catalog Client Script for validating User ID and email based on user inputs , in case if it exist pop user to change it as it not availabe. 2.User ID auto populating on the form as first_name.last_name and emai as first_name.last_name@3com.com

Requirement of 1.catalog Client Script which could validate User ID and email based on input ,in case if it already exist pop user to change it as it not available.2. User ID auto populating on the form as first_name.last_name and emai as first_name....

sachinam33 by Kilo Explorer
  • 2518 Views
  • 5 replies
  • 0 helpfuls

How to get Value instead of Sys.id in a Catalog Client Script?

I am fairly new to scripting. I've used this script before and it has worked. Now, I'm trying it on a different Variable and it's not working.My goal is to reference the variable "u_workstation" and provide the product name (model_id) of the workstat...

find_real_file.png
cms1 by Tera Contributor
  • 2192 Views
  • 2 replies
  • 0 helpfuls

UI Page reloadWindow() ONLY UI Page window

I have a widget on my homepage.   It's just a simple UI Page that pulls some stats.   I want this widget (ui page) to refresh independently of   everything else.   Very similar if not the same how a live feed would work.Here's an example of what I ha...

xiaix by Tera Guru
  • 3019 Views
  • 6 replies
  • 3 helpfuls

Get Previous State

Hi All,I need to use previous state value in one of my onLoad client script.So i have written below BR to get the previous state.Display Business Ruleg_scratchpad.oldvale = current.state;And used this scratchpad in my onLoad client script.var st = g_...

madanm7786 by Mega Guru
  • 3619 Views
  • 10 replies
  • 0 helpfuls

Resolved! How can I filter search results to only show Requests and Incidents from Service Portal View All link? We have the following from out of the box Service Portal (Helsinki): var link = {title: gs.getMessage('View all requests'), type: 'link', href: '?

How can I filter search results to only show Requests and Incidents from Service Portal View All link? We have the following from out of the box Service Portal (Helsinki):   var link = {title: gs.getMessage('View all requests'), type: 'link', href: '...

Kamran1 by Kilo Guru
  • 5871 Views
  • 5 replies
  • 1 helpfuls

Need help with coalesce (trying to prevent duplicates)

I am importing data with a field that has information such as the following which is going into the source field 'u_entitlement_path'.SYSTEM/PROD/GROUP\GROUPNAMEI am parsing the SYSTEM and GROUPNAME from the source field using RegEx and putting each ...

robhaas by Tera Contributor
  • 3820 Views
  • 19 replies
  • 0 helpfuls

Resolved! Setting the default value of a reference field

Hello all,Hopefully a quick one. On our Purchase Order Line Item table, we need to set the default value on the Vendor field to be the same as the Vendor field on the parent Purchase Order. Both fields are references to the same 'Company' table, but ...

CharlesR1 by Kilo Guru
  • 20123 Views
  • 18 replies
  • 5 helpfuls

ServiceNow Data Dictionary

HiI would like to know if there is a data dictionary document explaining and detailing the different tables and their columns in ServiceNow.I see options - "Tables" and "Tables & Columns" options under "System Definition".There is an option "Schema M...

pauladams by Tera Contributor
  • 9763 Views
  • 7 replies
  • 4 helpfuls

Resolved! sys_properties.list vs System Properties

This may sound trivial but just trying to understand why it is so.I see in the documentation it says type "sys_properties.list" (I know that tablename.list will open the corresponding table) in the navigator filter to bring the System Properties tabl...

pauladams by Tera Contributor
  • 9399 Views
  • 3 replies
  • 7 helpfuls

How can it call a popup from a server side UI Action

Hi,We have a server side UI action to updating list value, and base on the updated value to call the popup for users additional action.I use the GlideDialogWindow in the UI action, it's only work when the UI action is configure as client callable.   ...

irenechen by Mega Contributor
  • 3079 Views
  • 4 replies
  • 1 helpfuls

Resolved! Make a link to an attachment

Hello All!I'm trying to make a link on a record producer that would open an attachment in the sys_attachments table. I got this working but it opens a completely new tab to service now. Is there a way to just have it open in the same window?Thanks!!

dfry123 by Mega Expert
  • 4873 Views
  • 4 replies
  • 0 helpfuls

UI Action Condition

How do I make the condition check that the 'assigned_to' field is not blank.ie: If the field is blank the UI Action will not show.Thank you.

Graham18 by Giga Expert
  • 3316 Views
  • 2 replies
  • 0 helpfuls