ServiceNow AI Platform forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Forum Posts

gs.getProperty equivalent for client scripts

Hi, I wan't to avoid harcoding sys_id, and gs.getProperty does not work on client script.Is there a equivalent for gs.getProperty in the client script(I am using onload client script)?or is there any other workaround here?Thanks,Tadz

Tadz by Kilo Sage
  • 19266 Views
  • 4 replies
  • 4 helpfuls

Calculated field script not updating?

First time using a calculated field, so I'm not sure if I'm doing something wrong here.I have a calculated field that concaenates 2 other fields and is used in a list collector or a record producer in the service catalog.When I first created the fiel...

Resolved! Export to Excel option is not available

When I select a specific workstation and choose a program which is installed on that workstation and click on that program to show all workstations which have this specific program installed I am unable export the list of workstations which are shown...

Resolved! Service catalog - Client script works on the RITM form in the ITIL view but does not work on the portal and throws exception.

Hi All, I am just getting my hands dirty in servicenow development. I am facing an issue with the client script execution on the portal. I have a business requirement to make the RITM variables in the catalog requested items read-only after submissio...

nss280 by Kilo Contributor
  • 2332 Views
  • 4 replies
  • 4 helpfuls

Resolved! Update an attribute of records in an array

Hello, I have an array that has a bunch of sys ids of my query.  Let’s us say that my array has a list of open incidents/ incident task and is defined as follow   var allIncidents = [];   assuming that my records are are in it already , how can I cha...

Lemajeur by Mega Expert
  • 1581 Views
  • 3 replies
  • 1 helpfuls

Resolved! Gliderecord SetValue on Catalog Item variables

Hi,Is it possible to Gliderecord a catalog item variable value using setValue?For example:var variableName = 'test';var gr = new GlideRecord('sc_task');   gr.addQuery('request_item',current.document_id);   gr.query();   if(gr.next()){ gr.setValue(var...

Tadz by Kilo Sage
  • 7193 Views
  • 11 replies
  • 6 helpfuls

Facing an issue while copying a word document to body of the knowledge article and keeping the format. This is happening when importing an article as well

Hi  When i copy and paste a word doc into knowledge article text field, Lines which contain numbered list or bullet list font size is changing automatically same is happening when i import an article as well.   Regards, Chiru

chiru1 by Tera Contributor
  • 2462 Views
  • 1 replies
  • 1 helpfuls