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

Forum Posts

Record producer scripting.

Hi, when does the record producer script runs? (form is inserted, submitted, loaded)

Community Alums by Community Alums  
  • 1651 Views
  • 4 replies
  • 0 helpfuls

Resolved! Date format transform maps

Hi All, I am getting date in file as this format 20200831 Year, month and date format. Now I have a target field on the target table which accepts date in the format 01/12/2020 00:00:00 (Date,month, year and time). I tried below code but its not work...

Khanna Ji by Tera Guru
  • 3831 Views
  • 3 replies
  • 1 helpfuls

Incorrect date format returned

Hi Friends, I am running below background script with start date and adding 365 days to it but its returning a weird value.  var date1= '02-08-2022 16:58:04'; var daysToAdd= 365; var day = GlideDateTime(date1); day.addDaysLocalTime(daysToAdd); gs.pri...

Khanna Ji by Tera Guru
  • 768 Views
  • 8 replies
  • 0 helpfuls

Resolved! Hide UI actions when clicking a button

Hi all,   I tried the two following methods for hiding buttons when I click a button.   Method 1: $$('#reply_new_view')[0].hide(); // THIS DOES NOT WORK     Method 2:     var items = $$('BUTTON').each(function(item) {  // THIS DOES NOT WORK        it...

find_real_file.png find_real_file.png
juan casas by Mega Expert
  • 1432 Views
  • 2 replies
  • 0 helpfuls

When a major incident is demoted then the assignment group should change back to the value which it had prior to making that incident as major incident

As per OOB : Normally when an incident is promoted / proposed as a major incident then the assignment group will change to major incident management group via business rule & assignment rule but the requirement is as below : When a major incident is ...

RC19 by Tera Contributor
  • 701 Views
  • 2 replies
  • 1 helpfuls

Record Watcher not working

I am tying to retrieve the status of a field from a table for a new record using record watcher but it won't work. I have added spUtil at header and added an alert statement at watcher function but nothing is being logged. Any idea's why?   The code ...

Adding an Image (company logo) to a PDF using GeneralPDF.

I am having issues with trying to get an image displayed at the top of a PDF being created using the GeneralPDF Script Include on a Kingston instance. GeneralPDF was chosen for this task because it could take HTML as input and add the resultant PDF a...

scott_s by Kilo Contributor
  • 3928 Views
  • 3 replies
  • 2 helpfuls