Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

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

Forum Posts

Resolved! OAuth 401 even with token?

Hey SN,  We're trying to use OAuth to access our QA Environment through REST calls. We're able to recieve a token but when we try to access tables with that token we're getting a 401 returned, access denied.    I know I have ACLs on the tables we're ...

asampson by Mega Contributor
  • 4706 Views
  • 7 replies
  • 0 helpfuls

Resolved! Maximum length not working for String fields

Hi, I came across something very weird, There is a table called task_time_worked which has a String field called "Comments" and the max length defined for it in dictionary is 1000. But when I fill the Comments fields with more than 1000, heck even wh...

eshwar10 by Giga Contributor
  • 4767 Views
  • 2 replies
  • 2 helpfuls

Changing sysparm_media=print Template?

Hi!   Would any of you know of a way to modify the "sysparm_media=print" template in the ServiceNow CMS?   When viewing the printer-friendly version of a service catalog task/record producer which uses and displays a variable table (which uses the "s...

sc_var_table.png

DEBUGGER IN SERVICE NOW

Hello Guys, Do we have proper debugging Methods to test ClientSide/Server Side SCripts.Basically I am from JAVA background, there we have a good IDE where we can get all the information, So I would like to know dowe have any such feature for debuggin...

naresh1019 by Mega Expert
  • 6219 Views
  • 5 replies
  • 13 helpfuls

convert to lower case

var gr = new GlideRecord('sys_user');gr.addQuery('first_name.toLowerCase()',another_variable);gr.addQuery('last_name.toLowerCase()',lastnewname);gr.query();if(gr.next()){}here another_variable and lastnewname are in lower case I want the table fields...

joshishree by Kilo Contributor
  • 5505 Views
  • 6 replies
  • 1 helpfuls

Resolved! List banner button UI Action and slushbucket

HiI have a requirement to change the Edit Members slushbucket view for change tasks (see screenshot). When in Change request, go to Configure >   Related Lists and add the change tasks. Once this list view appears you can have the New and Edit list b...

edit_memebers_list_interface.png
rhiannone1 by Kilo Contributor
  • 3125 Views
  • 6 replies
  • 0 helpfuls

How i use START WITH condition in business rule script

How i use START WITH condition in business rule scriptI have idea how to use contains but i am looking for how to use "Start with"i am working with business rule ( i want to check if caller is from group where group name start with SERVICEDESK so ass...

dalvi195 by Kilo Contributor
  • 6063 Views
  • 3 replies
  • 0 helpfuls

Resolved! Scripting Help- weekend and bank holidays

Hi SNC,I need some assistance please regarding the below script. It's for a five days validation , it works for five days but does not take into account weekends or bank holidays.Here's the script below and the script include . Please note,not great ...

gbade by Kilo Contributor
  • 2427 Views
  • 8 replies
  • 0 helpfuls

split the string

Bhagyashree Pradeep Joshi,gggvar array = name.split(",");var newname =array[0];alert(newname);var name2 = newname.split(" ");var firstname1 = name2[0];var lastname2 = name2[1];alert(firstname1);alert(lastname2);here ,alert(firstname1); = Bhagyashreea...

joshishree by Kilo Contributor
  • 19968 Views
  • 8 replies
  • 2 helpfuls

Security concerns around the Guest account

Our IT security department has concerns about the functionality of the guest account and the access it may grant.   It peaked their curiosity by the name Guest.   I am interested in renaming the account.   Is there any reason I cannot or should not r...

Add 1 year to current date in date field

I have a date field where I am currently setting the defualt value to todays date using javascript:now();. I am unable to figure out how to set the defualt value to todays date + 1 year....   Can someone please help me with this?

codedude by Mega Expert
  • 13822 Views
  • 8 replies
  • 12 helpfuls