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

Forum Posts

Resolved! Best Practice on Script to Delete Records from Instance

If I am running a script to delete several thousand records from a table in Dev (or Test) is it okay to run the same script on a different table at the same time? Slowing down the instances performances isn't really a big issue in this particular cas...

Get data from sys_user table

Hi Based on the user's ID, I'd like to get specific data from the sys_user table. Could you help me to achieve that? I'm a newbie and I'm stuck. I've successfully got the user id from the user reference table:   var userIM = g_form.getValue('reqFo');...

dmkiraly by Kilo Contributor
  • 4248 Views
  • 2 replies
  • 4 helpfuls

Resolved! UI Page reference field displayValue

Hi,My my limited coding skills I managed to get a UI Action to pass the DisplayValue from a sys_user reference field on a table form to a UI Page using: var UserValue = g_form.getDisplayBox('u_business_owner').value;   Using it in the UI Page like th...

find_real_file.png find_real_file.png find_real_file.png
klautrup by Kilo Expert
  • 5906 Views
  • 1 replies
  • 0 helpfuls

Resolved! Excluding tables from system clone

Hi - we've been asked to exclude all our HR module data (hr cases, tasks, attachments etc) from our sytem clonesI understand from the documentation that you cannot exclude a table inherited from the task table.https://docs.servicenow.com/bundle/istan...

adrianblakey by Tera Contributor
  • 5314 Views
  • 10 replies
  • 1 helpfuls

Resolved! Automatically update short_description to start with caller_id

I have been asked to automatically put the caller_id in the beginning of the short_description on an Incident Form.   I have reviewed with our ServiceDesk and validated their use case asking for this change and it seems legit.   Newbie here....I thin...

jstocton by Kilo Expert
  • 6262 Views
  • 30 replies
  • 3 helpfuls

Show incident rows only to the assignment group

Hi,Is there a way to define that only the assignment group could see her incident rows?I tried to write an ACL:Operation: readscript:if(gs.getUser().isMemberOf(current.assignment_group)){answer=true;}else{answer=false;}however, the group members can'...

acl.png
shany_b by Kilo Contributor
  • 7575 Views
  • 10 replies
  • 4 helpfuls

HTML Help text

Does anybody know of a way to make it so that HTML shows in the help test now that ServiceNow is escaping it?   We obviously do not want to set glide.ui.escape_text to false.   Just wondering if there are any other workarounds before we have to upgra...

brianlan25 by Kilo Patron
  • 10025 Views
  • 37 replies
  • 15 helpfuls

Resolved! Write a Condition that Hides Items in SP Menu

Looking for a condition that will hide items from displaying in the Service Portal Header Menu.  Right now, I have something that looks like this... GlideSPScriptable.canSeePage("services_status") && gs.getUser()... but need to restrict access, based...

codechaser by Giga Expert
  • 3958 Views
  • 10 replies
  • 4 helpfuls