Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

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

Forum Posts

"Set value to null" client script only works once (Tokyo)

Greetings, everyone. I'm dealing with a weird issue with a client script that's designed to clear the "Due date" field and generate an error message when the date in the "Due date" field is earlier than the date in the "Start date" field. The trouble...

C_dric Chen by Tera Contributor
  • 1807 Views
  • 2 replies
  • 0 helpfuls

Resolved! Dot Walking on Catalog Client Script for Department Head

I have a reference field on the cmn_department table in a Catalog Client Script. when someone changes the department, I want to populate a field with the name of the department head. It does not look like my dot walking is working. function onChange(...

Delegate User - Permissions

Hey there, colleagues!  A quick question: I'm creating a flow where I should insert a new entry in the table 'Delegates' whenever there is a request for it. Its working well but the client manager says that whenever someone delegates to other person ...

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

Resolved! Require User to Fill Out one of two Fields

On a Catalog Item that we are placing out on the Service Portal, we have a few fields (among many others): - one is a "Multi-Line Text" field - one is an "Attachment" field The user is required to provide a description of the problem (multi-line text...

jmiskey by Kilo Sage
  • 3179 Views
  • 6 replies
  • 5 helpfuls

Reference field is coming blank on portal

I have one catalog item in my Dev and UAT instance, in Dev the field shows the data in it but in UAT instance it does not shows any value in. Tried to check the UI policies and client script but did not find anything.I am pasting that screenshot of t...

AbhilashaGT_0-1674659385027.png AbhilashaGT_1-1674659412147.png

Remove/Add Options in a List Field

I have a List field on a desktop form, not a catalog form. I’d like the selectable options in the List field to be dependent upon the selection made in a Choice List.   For example, if the user selects Category One from the Choice List, I’d like to p...

alexpullos by ServiceNow Employee
  • 1331 Views
  • 1 replies
  • 0 helpfuls

Resolved! User Criteria for logged in user not working

I have a user Criteria where logged in uses / users who are active can view , but seems like its not working as expected  can some one help me whats wrong in the code    scriptAut(); function scriptAut() { var retVal; if (gs.getUser() =="") {       ...

RudhraKAM by Tera Guru
  • 6568 Views
  • 25 replies
  • 0 helpfuls

Resolved! nowAttachmentHandler - Restrict File Type Selection

We have a custom Service Portal that we are providing the ability for content creators to upload images directly in our custom widget. We are using nowAttachmentHandler. Right now we are doing custom checks that they only upload specific types of fil...

raprohaska by Kilo Guru
  • 1453 Views
  • 1 replies
  • 0 helpfuls