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

Forum Posts

SSO with OAuth 2.0?

How does ServiceNow support authentication using OAuth 2.0 for portal users using external IDM provider? In other hands; user enters ServiceNow portal with browser, is redirected to IDM provider, user logs in to IDM provider, IDM provider redirects b...

FinToy by Mega Expert
  • 2889 Views
  • 2 replies
  • 0 helpfuls

Resolved! gel('sysparm_item_guid').value is not working with Istanbul version

Hi All,I am trying to validate the attachment type on submit of request, noticed that   gel function is not supported with Istanbul version.   var cat_id = gel('sysparm_item_guid').value;         var gr = new GlideRecord("sys_attachment");     gr.ad...

vai by Kilo Contributor
  • 3185 Views
  • 9 replies
  • 1 helpfuls

Resolved! Form - Set field default value using Javascript

Hi Team,On the change request form, i have a field called "Change Owner". There is also a "company field" which is a reference to the company table. The company record has a field called "u_test" which is a user reference field. (It's like a company ...

thiraj by Tera Contributor
  • 12462 Views
  • 5 replies
  • 4 helpfuls

How to create download links?

We want to have files automatically downloaded when you select an option from a select box on a record producer.So my questions are:- Where should these files be uploaded?- What should the link be to redirect to?- How should I redirect to that link?

Disable/ remove choice list options on the form

Hi can anyone help me out on how can we either disable/removing the choice list options on the form.I tried couple of things which did not work fully..Scenario: I have a cat(1,2) and subcat(1- subcat1, 2- subcat2, subcat3) where subcat values are dep...

ushakarthya by Kilo Contributor
  • 4758 Views
  • 19 replies
  • 0 helpfuls

As an LDAP user, can I get an OAuth token?

For some automation/integration, I am attempting to get an OAuth token. Per our service provider who manages our SN instance, everything is setup correctly... but when I try:curl -d"grant_type=password&client_id=[ID]&client_secret=[SECRET]&username=d...

jsp by Kilo Explorer
  • 1660 Views
  • 1 replies
  • 1 helpfuls

change group Approvals via script

Hello Experts!I have a little struggle with Group approvals for changes. I have a workflow, but in this particular case, I do not want to use it. Hence I add for this change via a script multiple approval groups. But as soon as someone approves from ...

JK1 by Giga Expert
  • 1948 Views
  • 3 replies
  • 2 helpfuls

Resolved! Help with Script Include to get Roles Based on Group and User

Ok I need some help please!I am jammed up with getting this to work.I have a catItem that adds a user to GroupI need to first check what roles the group hasCheck what roles the user hasIf the group has itil and the user has itil = successIf the group...

patricial by Tera Contributor
  • 5106 Views
  • 14 replies
  • 3 helpfuls

Cloning Widgets scoped vs. global

Hi Everyone,I have a general question regarding cloning widgets and being in the correct scope.   I've tried cloning several out of the box widgets and have gotten a couple different results.   Our team is working in a scoped environment, so when we ...

davilu by Mega Sage
  • 2829 Views
  • 4 replies
  • 7 helpfuls