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

ACL on Database View

Hi, I would like to know if we can write ACL's on database view. I am trying to give write access to one of the groups to a field from 'awa_agent_presence_capacity' database view which is not working. My Script in ACL :answer = false;if(gs.getUser()....

Multi Row Variable Set not Displaying on RITM

I added a Multi-Row Variable Set to a catalog item. The set displays on the form but after checking out, the resulting RITM does not display the set. Am I missing something? I've searched the forum but cant find a resolution. Thanks. 

mrcorbeaux by Kilo Guru
  • 2229 Views
  • 5 replies
  • 0 helpfuls

Create a Unique field with no duplicates

Hi - I have created a form in SN and need to make one of my fields UNIQUE so there can be no duplicates. I am quite new to this and I have no idea where to start from. Any pointers will be very much appreciated.Thanks.

tsam by Kilo Explorer
  • 7038 Views
  • 8 replies
  • 4 helpfuls

Resolved! Clear Options except 'None'

Hi All,I am trying to develop a catalog client script for a Service Portal Item.Below is the code I am using:--------var cat = newValue;   g_form.clearOptions('subcategory');     var choice = new GlideRecord('sys_choice');   choice.addQuery('dependen...

Shihab Ahmed by Tera Contributor
  • 16339 Views
  • 13 replies
  • 15 helpfuls

Query AD LDAP by ObjectSid, not SamAccountName

Understanding that ServiceNow documentation indicates LDAP query fields are limited but has anyone developed an alternative to samaccountname? (Excluding source, cn, dn) We import the AD LDAP "name" field as our group name and sometimes it doesn't ma...

MGanon by Tera Guru
  • 1725 Views
  • 4 replies
  • 1 helpfuls

Deleting from tables with cross-scope access policy

Hey all, I am having trouble deleting all records in a table (in multiple tables) within a custom application. I have selected the 'Can delete option' (see below) and there are no entries in the 'cross scope privileges' section of the application (se...

find_real_file.png find_real_file.png find_real_file.png

Upload attachment from email to the existing Data source

HI Folks, I have created a Data Source (Testexample.csv) and it has an attachment. My requirement is when ever service-now receives email (from inbound email action) that has an attachment also, i want to update the attachment in the Data source with...

vijay39 by Giga Expert
  • 2646 Views
  • 6 replies
  • 0 helpfuls

Resolved! Max Length for User ID field

Wondering what the max length I can extend the user ID field too. By default it is set to 40. I have seen other forums that say 100 is a good number to set it too. Wanted to see if what anyone else has done

Bryan Ngai by Giga Contributor
  • 1854 Views
  • 3 replies
  • 2 helpfuls

Dynamically Set Reference Field Table

Hello Community,         I am trying to find a way to dynamically set the table name of a reference field onChange. I have a table with a dropdown(Field A) that contains all tables in our instance. Because that can literally be any table that exists,...

Ken83 by Mega Guru
  • 2462 Views
  • 3 replies
  • 3 helpfuls