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

Forum Posts

name field shows null values

For some reason, the list view of the name column on the user record shows up null as part of name field. but when I click on it, it displays normal first name last name in the name field.

ryadavalli by Tera Expert
  • 2672 Views
  • 14 replies
  • 0 helpfuls

gs.addInfoMessage after submit

Hi GuysQuite new to scripting, however, I have a ui action to submit the request and would like a message to appear after its submitted and when they are redirected back to say the list. I have the below which shows.However, I have a business rule th...

find_real_file.png find_real_file.png

Resolved! Can we give ACL to script includes ?

HiI have 3 script includes, System definition => Script includes. Shall we give ACL to these ? If we can give, is that the option client script include ?

randeepnath by Mega Contributor
  • 7968 Views
  • 9 replies
  • 2 helpfuls

Resolved! When user clicks on approve ui action they are getting redirected to a different page. But they should be re directed to the same page.

When user clicks on approve ui action they are getting redirected to a different page. But they should be re directed to the same page.Below is my code, but it's not working.current.approval = "approved";current.update();new UIActionUtils().approvals...

Resolved! Can we do styling of gs.addInfoMessage ?

I want to do some font size and style changes on the gs.addInfoMessage message .How can i do that ?gs.addInfoMessage("Fill the value");What to do to change the font color and background color of the message "fill the value"

Karun Pandey by Tera Contributor
  • 4831 Views
  • 1 replies
  • 0 helpfuls

Resolved! Date Validation

Hi guys, I have a requirement to validate "complete" date on the form. I have 2 fields - "Open" Date & "Complete" Date. How can I do validation by using OnChange to make sure "Complete" date is always after the "Open" date? Users should not be able t...

brown9394 by Tera Expert
  • 1699 Views
  • 5 replies
  • 3 helpfuls

Resolved! currency and number formatter

How do I format a currency field so that it displays 01000000 as $1,000,000.00my code to display currently is where cost is defined as a variableI've looked at the server side script API and do not seem to be able to locate anything.

snipping-tool-code-sample.PNG
een by Kilo Contributor
  • 6463 Views
  • 14 replies
  • 8 helpfuls

Resolved! Vendor Self Service Portal

Good Morning,   I've been digging through wiki but am unable to find info with much detail about my request.We have thousands of active vendors and they need Insurance coverage.   I've built out a "notification system" to let them know when their ins...

carlh by Kilo Guru
  • 3662 Views
  • 7 replies
  • 1 helpfuls

Scrolling Cart Script for a particular catalog item

Hi am trying this script for my catalog item that I got from the user community and I keep getting an error. Can someone take a look please?Here is the link where I got the code from: Scrolling Cart for Service Request - Oslova Networks Thank you,Kar...

find_real_file.png
Cupcake by Mega Guru
  • 2610 Views
  • 18 replies
  • 2 helpfuls

Local address contains control or whitespace

Hi experts,I've set up email notification for a specific record insert on incident table. Mails are shown in logs but not being delivered. I'm getting this error message while checking logs:"Local address contains control or whitespace". I cross-chec...

Resolved! how do we implement AND and OR operations in rest table api

HI all,I'm new to servicenow development. I need to access Incidents table in my developer instance via REST table apis. E.g I need those records having State=Closed or State=Awaiting Problem for a specific user (name: XYZ). But I'm not able to imple...

akshay317 by Kilo Contributor
  • 16483 Views
  • 5 replies
  • 4 helpfuls

Download attachment button on Catalog Item

Hi Everyone,I am working on a Catalog Item, I have a Reference Variable wherein I am referencing Applications table, in which all records have two attachments. My requirement is to add two buttons in the Catalog Item, like "Download Attachment 1" and...