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

Forum Posts

Resolved! show problem from the ptask

Manually creating PTASKs from a problem there is a field showing the problem this was generated from, I was surprised that this did not get automatically populated since its just sent me from there and the ptasks are all listed as related lists under...

find_real_file.png
Richard P by Mega Guru
  • 1402 Views
  • 4 replies
  • 0 helpfuls

Group UI Actions in the Form context menu

Is there any way I can group the UI actions I have created and placed in the Form context menu? Like the Groups Configure, Templates, Export, View and History.I want to place my Ui Actions Create Change, Relate Incidents and Relate CI into one new gr...

find_real_file.png
torwc by Kilo Contributor
  • 2667 Views
  • 5 replies
  • 2 helpfuls

Email KB Article

Hi all,I am looking for a way to email a link to a KB Article. I know there is already an "email" option within the OOB options, but we require the email to send from the users Outlook rather than from within ServiceNow. I would prefer to have a "but...

ryan86 by Kilo Expert
  • 2110 Views
  • 6 replies
  • 0 helpfuls

Resolved! URL Length Limitation in Menu Item(Istanbul)

I m trying to add the itss URL (catalog item) to the menu item.. But the URL is getting cut off due to the limit in the length.Here are the options which i chose for Menu itemRedirectTo --> Specified URLURL --> Provided the ITSS url but its getting c...

Resolved! client script and ajax call

HI,Im trying to get display value of a reference field. I know of the method g_form.getDisplayBox(), but I am trying to do it from ajax call.I am only able to get the sys id of the reference field.I tried the following but no luck.Client side:ga.addP...

amit98971223 by Kilo Contributor
  • 12699 Views
  • 4 replies
  • 2 helpfuls

Resolved! XMLHelper in GlideAjax

Hello everyone,I am aware of how to use GlideAjax to return JSON, but for my own knowledge I am working on building out the same scripts just returning XML strings.   In my client script I need to convert that string to an object so that I can perfor...

Sean Duhaime by Giga Contributor
  • 1762 Views
  • 5 replies
  • 0 helpfuls

Resolved! Set default choice through catalog client script

Hello experts, I'm new to coding, and trying to accomplish a task, not sure how this can be done. I have this If/else statement that i'm checking to see set choice list for the variable, which works as intended. However, I want to set choices dependi...

Kim Jenson by Kilo Contributor
  • 1939 Views
  • 7 replies
  • 1 helpfuls

Resolved! Restrict 'Export Directly from URL'

Is there any way to restrict the ability to 'Export Directly from URL' without affecting read access for a user?Export Directly from URL:https://docs.servicenow.com/bundle/istanbul-servicenow-platform/page/administer/exporting-data/task/t_ExportDirec...

matt_kean by Tera Guru
  • 3113 Views
  • 5 replies
  • 1 helpfuls

Additional approvers script

I have a variable on the catalog form; Business Unit CFO Approver (value is cfo_approver).   It's a reference to a table that has a list of the CFO's.   In my workflow, I want to include the CFO as an approver.   In a Approval - User activity, I used...

chrisdamico by Kilo Explorer
  • 4095 Views
  • 13 replies
  • 0 helpfuls

Resolved! Setting Text Index to true

I'm trying to activate the text index for the "Asset Tag" column under Configuration Item table. The end goal is to allow my staff to use the global search function using our asset tag number.However in the Dictionary Entry page I am unable to change...

jonjon2_0 by Kilo Contributor
  • 2437 Views
  • 4 replies
  • 1 helpfuls

Resolved! Jelly - GlideRecord Query Not working

This is my current script:<?xml version="1.0" encoding="utf-8" ?><j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="jelly:core" xmlns:g2="glide">   <g2:evaluate var="jvar_position_id" jelly="true">   var cart = jelly.sysparm_cart_na...

Resolved! Get Display Value and in mail script

Hi all,I'm using this mail script to capture variables for a catalog item to be sent in a notification:printVars(); function printVars() {       template.print('<b>Catering Request Details</b>\n');       var cv = new GlideRecord('sc_item_option_mto...

jimpaige by Giga Contributor
  • 5759 Views
  • 8 replies
  • 1 helpfuls