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

Forum Posts

How to hide widget based on user role

So I have searched the community near and far and have not been able to find a solution.I have cloned the ICON Link widget and need to now set the visibility of this based on the logged in user having a specific role.If they have the role show the wi...

tricial by Giga Contributor
  • 5928 Views
  • 5 replies
  • 2 helpfuls

Asynchronous Import Set

Hi All,I am creating records in staging table through a script.All the Import sets which are creating for that staging table records are in 'Synchronous' mode. So my Tranform map is running as soon as I insert one record in staging table.How can I ma...

inderpal by Kilo Expert
  • 3601 Views
  • 2 replies
  • 2 helpfuls

REST Response > Remove/override caching headers

Hi all,Version: GenevaI want to be able to cache a REST response for 5 minutes... I've tried using setHeaders(..) (there's no removeHeaders(..)), but it looks as though ServiceNow has hardcoded the `Cache-Control`, `Pragma` and `Expires` HTTP headers...

nickg111 by Kilo Contributor
  • 1821 Views
  • 2 replies
  • 2 helpfuls

order guide issue in service portal

Hello everyonei have a small issue in our Order guides. Whenever a user tries to create a order guide without selecting any one of the check boxes ( catalog items ) on the form and if he hit 'Choose options', it displays a message on the top 'The ord...

find_real_file.png
Nitin_NOW by Tera Guru
  • 2577 Views
  • 3 replies
  • 0 helpfuls

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
  • 3281 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
  • 2668 Views
  • 3 replies
  • 2 helpfuls