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

Forum Posts

How to disable a field using sn-record-picker?

Hello! I am currently working on a form where I need to disable the approver field when a requester is a manager. I already used sn-disabled but it's not working for me.<sn-record-picker field="approverField" sn-disabled="c.data.manager" table="'sys_...

Resolved! Background script help - array

I have the below background script, which will display matching Short description. I'm not getting the output properly var arr = []; var regex = /SAP/i; var strSD=''; var stdDesc=''; var gr = new GlideRecord('incident'); gr.query(); while (gr.next())...

Resolved! Hide a field from a list view

Hi, I want to hide a field/column from a list view using only the attribute section of the field, if that's possible. I DO NOT want to use ACLs.   Thanks

hamidouche by Kilo Guru
  • 2470 Views
  • 4 replies
  • 0 helpfuls

Resolved! Catalog Item Show/Hide According to Multiple Choice

Hello, So I am making a multiple choice with 3 options (1, 2, 3), and upon selecting these, it will show or hide subsequent single-line variables. My problem is that I can't think of the logic behind a UI Policy or onChange script to allow me to do t...

Sean78 by Kilo Contributor
  • 2248 Views
  • 4 replies
  • 1 helpfuls

Resolved! How to get display value of choice field values?

Hi guys, I have a table and it has a choice field ('u_model_name'). I want to query the choice field and i would like to get its labels. following is my code which i have run in Background scripts: var choice = [];var audi = new GlideRecord('u_audi_s...

Resolved! Need help on ATF Server Side script.

Hi, We are on London and started to build and implement ATF cases. I have created ATF for one of the catalog item. I have fill out the form and created RITM and Catalog task. But I am not sure how to fill full filler supplied variables that need to b...

find_real_file.png
IamSK by Mega Guru
  • 3373 Views
  • 4 replies
  • 2 helpfuls

Check canRead() on record for someone besides current user?

I'm currently working in a scoped application where I want to check a user's access for a particular record in a business rule. I've been able to use canRead() for myself as a user, but I want to be able to check the same record on behalf of another ...

ericeger by Tera Guru
  • 9960 Views
  • 6 replies
  • 2 helpfuls