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

Forum Posts

Accessing Current Record sys_id on UI Page

I have been having difficulty with a glideModal UI Action that renders a UI Page. So far, my goal is to query the current task record's sys_id, and then display all related records associated with the task record on a custom scripted table.  I have u...

find_real_file.png find_real_file.png find_real_file.png
Thomas_J_C by Mega Expert
  • 2764 Views
  • 1 replies
  • 1 helpfuls

Relate request item and change

I have added a variable on a RITM, called 'Related Change' which is a reference to the change table.When i select a change on the RITM form, I would like this to be displayed on a change ticket, under a related list.I have created a new relation, cal...

Resolved! How to add 90 days from create date into another date field

I need to add 90 days to the date that a record is created and put it in another date field. Any thoughts on how I do that.  I am trying it with an onsubmit script because it needs to be done when the record is created.   Thanks, Stacy

Stacy1 by Mega Guru
  • 2254 Views
  • 1 replies
  • 0 helpfuls

Handle Integer in GlideRecord

Hi, I am trying to get the next number based on RowCount output. Here is the script   var existingCI = new GlideAggregate('cmdb_ci'); existingCI.addQuery('company','81fca4cbac1d55eb355b4b6db0e3c80f'); existingCI.addAggregate('COUNT'); existingCI....

Resolved! Flow designer ad connection setup

can some one help me setting my AD in flow designer , we already have the connection with AD where we get the updated from ldap import transform map , do we need to setup any other connections for AD to work in flow designer  I do have all plugins ac...

find_real_file.png find_real_file.png
RudhraKAM by Tera Guru
  • 1438 Views
  • 3 replies
  • 0 helpfuls

Resolved! Struggling updating user preference from portal.

Hi, community   I'm having a bad time trying to update a user preference from the Service portal, basically what I need to do is when a user clicks on a link labeled "Dismiss" it  will update a user preference to false, and the element will not appea...

guill3 by Giga Contributor
  • 2335 Views
  • 2 replies
  • 1 helpfuls

Text color change for alert message

Is it possible to change some part of text's color shown using alert message in catalog client script? like alert("If you choose category as personal laptop, then you have to attach <font color='red'>email approval from your manager</font> with this ...

Hafsa1 by Mega Sage
  • 5682 Views
  • 7 replies
  • 0 helpfuls

Set duration field using client script - Display and Set

Hello Everyone, Every time I have worked with duration fields, it is challenging in some type This time it is modifying the duration field value based on a start date and end date. Ideally, we set the value for duration fields like this g_form.setVa...