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

Forum Posts

Resolved! Pass values into a UI Macro on a Record Producer

How do I pass variables into a UI Macro that is being used by a record producer?I have created a UI Macro that I use in UI Pages, Actions, etc... that accepts multiple parameters in order to run. I would use the following to make it work on something...

find_real_file.png

Resolved! 'Tab' in a email notification script?

Is there a way to do a TAB in an e-mail notification script?Here's my current script, but the \t isn't working:var grr=new GlideRecord('risk');grr.addQuery('task', current.project);grr.orderBy('u_number');grr.query();while(grr.next()){template.print(...

find_real_file.png
Shane J by Tera Guru
  • 2270 Views
  • 2 replies
  • 0 helpfuls

updating a field by scheduled job

Hi AllI wrote a scheduled job to update a field. It showed that the count is 15400. But it didnot update around 600 records. When i filter the records i frontend, it shows 15400. How come count is showing correct in log but 600 records didnot get upd...

Client Script - Set Form Labels

Greetings!On our Incident Form, I am setting the labels of our ESS Form using client scripts:function onLoad() {   g_form.setLabelOf('comments', "Notes");}It works great when in all cases except when the Incident Status is "Closed".   What should I b...

Screen Shot 2016-09-22 at 9.25.46 AM.png
mauricio23 by Mega Expert
  • 2687 Views
  • 2 replies
  • 0 helpfuls

How to delete unwanted version history

Hi All,There are occasions when i move my update set to UAT box from dev and then backed out. Each and every time this gets stored in the version history.Do anyone know how to remove that unwanted version history. Please refer the screen shot.

varunp by Tera Guru
  • 3926 Views
  • 1 replies
  • 0 helpfuls

meaning of Form: in new GlideOverlay()

I have two sample scripts:       var d = new GlideOverlay({   title: 'Risk Assessment',   form: 'survey_take'         });         d.setPreference("sysparm_task_assessment", taskAsmtID);         d.setPreference("sysparm_survey", assessmentName);   ...

kirtit by Tera Contributor
  • 2706 Views
  • 2 replies
  • 1 helpfuls

Error: g_form.getAppliedFieldName is not a function in Helsenki

Hiwhen I run my service now request on Helsenki version, I am getting error "TypeError: g_form.getAppliedFieldName is not a function" in the browser console for almost all the browsers and due to that post UI policy and client scripts are not executi...

jt110 by Kilo Contributor
  • 1994 Views
  • 8 replies
  • 8 helpfuls

Popup window

Hi All,I have a requirement   that a popup window to come when a dropdown value is selected as "other" with a link side the popup window.Can anyone please help me with this.Thanks,

Resolved! Change Button Colors in Geneva UI16

I am working on upgrading to Geneva and UI16 and I can't find a way to eliminate blue from parts of the theme. UI15 was easy, since I could use the base.color to affect most of the element I cared about. This had the nice benefit of provided a drasti...

Screen Shot 2016-04-18 at 1.36.58 PM.png Screen Shot 2016-04-18 at 1.36.09 PM.png

ServiceNow Infrastructure

Hello Experts,I am still learning ServiceNow and have been working on my developer for few months now. I have few questions regarding the ServiceNow infrastructure and I am hopeful you experts will sure answer for me.1) Will each ServiceNow instance ...

srirao by Giga Expert
  • 2570 Views
  • 4 replies
  • 3 helpfuls

Date/Time Field No Seconds

When showing a Date/Time field on a form, is there a way to have it only show hours and minutes in the Time entry section (under the calendar), and just assume "00" for seconds?