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

Forum Posts

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
  • 2220 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
  • 7261 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
  • 4132 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
  • 2116 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
  • 6726 Views
  • 3 replies
  • 2 helpfuls

Asset Display name with Model display name

Hi, Need to write a Business rule where asset Display name should update with model display name for all the assets. Even when we create new assets. Below is the background script I have created, should I use insert and update After business rule on ...

Heisenberg by Tera Contributor
  • 2675 Views
  • 12 replies
  • 1 helpfuls

How do you rename the reference field column title/label?

Using Helsinki:1) You are in a list view and select 'Configure->List Layout'.2) You select an available list item that is a reference (example 'Assigned to') then click the 'Expand selected reference field'3) You select some field that is in there (e...

akaupisch by Kilo Guru
  • 2429 Views
  • 3 replies
  • 2 helpfuls

Resolved! Can you use arguments in a scripted filter?

Hi I'm using a script include in my filters so the format is: "Sys_ID is" -> javascript:myFunction();   However, when I try "Sys_ID is" -> javascript:myFunction(query) where query is an encoded query from a related list, it doesn't work. Does anyone ...

Justin1 by Kilo Expert
  • 1824 Views
  • 2 replies
  • 0 helpfuls