We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

Forum Posts

Resolved! CSS Overrides for Knowledge article templates

Hi, knowledge article templates allow for some basic styling, you can easily set this kind of stuff on the body of a html field: font-size:1em; font-family:Arial; color:black; However, I need to override the out of box styling for <ul>, it sets the l...

Resolved! Transfer comments and work notes to new record

Hello, I have a UI action that transfers field values from a record to a new record in another table. I would like to transfer the comments and work notes to the new record but it does not seem to be working (See pics below) Before After UI Action:...

find_real_file.png find_real_file.png
JJG by Kilo Guru
  • 3567 Views
  • 6 replies
  • 2 helpfuls

Resolved! Deleting a table using a fix script

Hi.  I have multiple tables that need to be cleaned in my current scope. Unfortunately the application repository does not drop these tables even though they are removed in dev.  I want to create a fix script that drops the whole table upon upgrade. ...

Ali31 by Giga Contributor
  • 5346 Views
  • 3 replies
  • 5 helpfuls

Resolved! ServiceNow instance is not receiving mails

Hello everyone, Issue I am facing is, ServiceNow instance is not receiving mails. I sent mail to the Username provided in ServiceNow SMTP email account, but I am not able to see those mails in service now.Email receiving is enabled in email propertie...

find_real_file.png find_real_file.png
payal1 by Kilo Explorer
  • 3924 Views
  • 7 replies
  • 0 helpfuls

How to display count of open tickets on widget

Hi everyone, i attached a picture to show what  i want to archive (red number on the picture) . Is it possible to display the count of open tickets on the Widgets next to the names like in the attached picture?   Thanks for your help.

find_real_file.png
depa by Tera Contributor
  • 1586 Views
  • 2 replies
  • 1 helpfuls

unlock URL field

Hi All, I am trying to unlock URL field but i am not able to do. I wrote onLoad() client script  Table name: u_documents Field name: u_url var data = g_form.getValue('u_url'); var unlockControl = g_form.getControl('u_url_unlock'); alert(unlockControl...

Suraj kumar by Kilo Contributor
  • 2174 Views
  • 2 replies
  • 1 helpfuls

Resolved! Can attachment functionality be tested with the ATF?

I want to create a test that checks if attachments are successfully being added and submitted with an incident using ATF? Is there a test step for adding attachments or can it not be tested automatically? Thanks in advance.

RJordan by Kilo Contributor
  • 7083 Views
  • 11 replies
  • 4 helpfuls

Resolved! Date/Time field: Set time to 00:00:00 always

Hello, I have a Date/time field [u_kickoff_start] in the Task [ticket] table that gets populated by the last Updated [sys_updated_on] based on some conditions. Requesting for a script to change the display in [u_kickoff_start] to show the time as 00:...

Desmo by Mega Guru
  • 4013 Views
  • 6 replies
  • 1 helpfuls

Validate JSON body

Hi All, I have below code in my scripted REST API. But in case if there is comma missing or some invalid format, system should generate error. How can I handle it? JSON.parse is not generating any error messages in try-catch blocks. (function process...

Geeky by Kilo Guru
  • 2076 Views
  • 4 replies
  • 0 helpfuls

How to test function in a script include?

Does anyone know how i can test a function within an script include using a background script? Function: getLibrarians: function(className) {// default return valuesvar librarians = null;var users = [];var groups = [];this.users = null;this.groups = ...

othomas1 by Kilo Guru
  • 6657 Views
  • 3 replies
  • 2 helpfuls