Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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

Forum Posts

How to upload a JS file in ServiceNow?

Hi, We have a UI page that creates the front-end for one of our applications. The javascript part (built using Angular 7) is currently stored in a UI script and is included in the UI page by using <script> tag. So far so good. But now as the applicat...

bala_sn by Kilo Expert
  • 7268 Views
  • 5 replies
  • 0 helpfuls

Resolved! Filter Reference Field based on Another Variable.

Is there a way to do this? I have two fields; u_location (reference to cmn_location table) and u_supplies (reference to u_supply_list table). On the u_supply_list table, I have a checkbox variable u_omaha and when checked I know that supply is only a...

Resolved! Variable type UI Macro not visible in portal!!!

I have created a variable type Macro just to populate one hyperlink. Variable is visible in the instance view (Try it from the maintain items UI Action). But same variable is not visible in service portal. Any suggestions! Please find the screen shot...

Community Alums by Community Alums  
  • 2524 Views
  • 1 replies
  • 0 helpfuls

Resolved! Setting Display Field on List Collector in Service Portal

So I am creating a form where managers can request to have members removed from Groups.  So, when they select a Group, I want a List Collector populated with the members of that Group, so the List Collector is based on the Group Member table (sys_use...

jmiskey by Kilo Sage
  • 4164 Views
  • 6 replies
  • 4 helpfuls

Resolved! Regex for phone numbers.

I'm not too good with Regex.  Does anyone know how I could format it so that a phone number field will accept only numbers, parentheses, and minus signs?  Currently it's set up as /^\d+$/ and the field only accepts numbers.

Andrew122 by Mega Expert
  • 8470 Views
  • 5 replies
  • 3 helpfuls

Resolved! accessing notification type from inside an email script

Hello,  I've got no way of knowing how to even approach a problem like this. Say I've got an email script that needs to dynamically change based on what notification it was sent out in. e.g. a script named metadata If a "Incident has been assigned to...

JP56 by Kilo Contributor
  • 2321 Views
  • 8 replies
  • 7 helpfuls