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

Forum Posts

I wanted to delete related records in other table

Hi All,I have two tables. 1) For Services which is nothing but a list of services. 2) Appointmnets for services.When I delete any service from first table I like to delete related records from the other tables. Any suggestion

now_dev by Mega Expert
  • 2970 Views
  • 6 replies
  • 1 helpfuls

Resolved! Enable "insert a new row"

Hi,I no longer see this option under lists like Incidents, Users etc. Not sure if I disabled inadvertently. How can I get the "insert a new row" option back?ThanksS

srirao by Giga Expert
  • 3989 Views
  • 4 replies
  • 9 helpfuls

Resolved! Autopopulating fields in a form built in UI Pages

Hi, I'm creating a form in a UI Page and want to pre-populate some fields from sys_user.   The issue I run into is this error message: "The value of attribute "value" associated with an element type "input" must not contain the '<' character."I've us...

yundlu316 by Kilo Guru
  • 1852 Views
  • 6 replies
  • 0 helpfuls

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
  • 2286 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
  • 2733 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
  • 3957 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
  • 2735 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
  • 2051 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,