Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

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

Forum Posts

Resolved! Display content in Multiline text

I need to display some content in Multiline text only when I select particular variable . Currently I have written a Script include and Cliet script for the same. In form level after i select specific variable the Multiline text field is getting disp...

shruthi17 by Kilo Explorer
  • 6068 Views
  • 14 replies
  • 0 helpfuls

Resolved! Can i update sys_created_on field value

Hi,   By any chance if i want to update the created on date how can i do that   I tried with below background script but it is not updating     var usr = new GlideRecord('sys_user'); usr.get("SYSID"); usr.query(); usr.sys_created_on = '2020-01-01'; u...

Service Portal, External Users and the snc_external role

Hello all, I'm creating a service portal to expose limited data to some logged-in external users, who have the 'snc_external' role. I have a page that uses the 'Data Table from URL Definition' widget to show a list of incidents. In order to make inci...

Jamsta1912 by Tera Guru
  • 6211 Views
  • 3 replies
  • 2 helpfuls

prevent update of a field in transform map

I have a field "Name" in a CMDB table. This table data is updated through a data source via transform map. I have a requirement to prevent update of Name through data source when it is manually updated by CMDB admin.  I have written the below logic i...

Developer3 by Tera Expert
  • 5056 Views
  • 7 replies
  • 0 helpfuls

Expand and collapse option for form fields

I want to add expand and collapse option for user for hiding and showing multiple fields on the form.  As below basic info added as annotation with this can we add expand option so "first and last name will shown" and if collapse then they will hide

find_real_file.png
Community Alums by Community Alums  
  • 6966 Views
  • 9 replies
  • 2 helpfuls

How to filter users based on a specific role?

I have user reference field and i want to filter the users with certain role.I was trying to use   Advanced reference qualifier Reference Qualifiers - ServiceNow Wiki from this article   but it`s not working javascript:"sys_idIN"+getRoledUsers("IN","...

Capture.JPG
nthumma by Giga Guru
  • 4564 Views
  • 4 replies
  • 4 helpfuls

Resolved! Multiple catalogs

Hi All, I have a requirement to create multiple catalogs and have different catalog items in it. Below are two major requirements; 1) If ITIL user logs in, I should display Catalog selection picker as shown below; (Categories selection is shown OOTB ...

find_real_file.png
Geeky by Kilo Guru
  • 6578 Views
  • 15 replies
  • 2 helpfuls

Resolved! Adding Multiple Values on a Field

Hope you are all safe and well.  I am looking for a recommendation on how to achieve the following. We have added the email_id field to the customer_account form, which service managers need to populate with a vilid domain, so if the company email is...

Cirrus by Kilo Sage
  • 6265 Views
  • 4 replies
  • 2 helpfuls