We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

Forum Posts

Multi Date Picker functionality

Hi  I want to add a field that can add multiple dates like a list . Not sure if there is a way to do this . Please let me know    Thanks 

vhari2 by Tera Expert
  • 2245 Views
  • 3 replies
  • 1 helpfuls

Resolved! How to Fix Background image for Header menu in service portal

Hello friends, I want to ffix background image to header menu. Please  suggest the dimension and that image should cover fully in header menu in service portal. how to do that? its only half image is cornered on the left side of header menu. How to f...

Jayanthi by Tera Contributor
  • 2740 Views
  • 3 replies
  • 1 helpfuls

attachment check on UI action

Hi, How can we make attachment mandatory if not attached to form on clicking UI action. Basically Before any action after clicking button, it has to check attachment and a field value should be filled, if not i has to alert user and stop UI action fu...

Lean S by Mega Expert
  • 3558 Views
  • 13 replies
  • 3 helpfuls

Resolved! Check if OAuth Token is expired

I would like to know if there is a way via script to find if the existing OAuth token is still valid or expired ?  Currently we have API calls that fetch the Access token, and we have refresh token grant flow that will get us a new access token when ...

D_8 by Tera Contributor
  • 6217 Views
  • 3 replies
  • 2 helpfuls

Resolved! How to call a script include from a catalog client script

Hi, I want to know how to call a script include from a catalog client script. However, now the script include is undefined and the log client script returns null. What is wrong? Script include below: var getNumber = Class.create();getNumber.protot...

Mi4 by Tera Expert
  • 4489 Views
  • 14 replies
  • 7 helpfuls

Expand/collapse functionality in service portal widgets

Hi team, Need expand/collapse functionality in service portal for widgets. I Have few custom widgets in portal, on clicking + button widget should expand and show the records as below on clicking same button all records should collapse and show only ...

find_real_file.png

Resolved! Uploading Excel file from Powershell script corrupts data

This is a followup to a previous community case I had raised. We have setup a scheduled import to point to a data source record which reads it's attachment and if we manually upload an Excel file to the attachment, the import will run correctly. But ...

Tim Darrach1 by Tera Contributor
  • 2303 Views
  • 3 replies
  • 1 helpfuls

Creating multiple records using mulitple JSON from REST API?

Can we create multiple incidents in servicenow through one rest api call maybe using multiple json? The api we are using is :  POST /now/table/{tableName} If it is possible how can we implement that? Was it possible in any of the previous versions?

Anish16 by Kilo Explorer
  • 2411 Views
  • 2 replies
  • 0 helpfuls