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

Forum Posts

[SOLVED] SOAP call: HTTP Get not supported

Hi,I've been working on creating tickets from System Center Operations Manager into SNOW by using a task. Now, the code worked all fine in our dev environment but our production denies me for some reason and we can't find what the issue is. The user ...

Sugarhat by Kilo Explorer
  • 5973 Views
  • 2 replies
  • 0 helpfuls

Resolved! Client script to hide fields

I have tried the following script with no success. I want to hide the field in the attachment that is circled in red. Is there something wrong in the way I'm writing it?   function onLoad() {  if (g_user.hasRoleExactly('x_540069_cmdb.test_roll1')) { ...

Koki by Tera Contributor
  • 7728 Views
  • 7 replies
  • 3 helpfuls

Resolved! UI Builder: Users can't access UI Builder pages

We have created an app and built some UI Builder Pages for it. We have created a group which can access all tables of the app. But when I personify one of the users of the group, I can't open the UI Builder pages via URL. Is there something I have to...

Jonas27 by Kilo Guru
  • 2813 Views
  • 5 replies
  • 1 helpfuls

Resolved! Show hide field based on checkbox help

I am frustrated with a script.  I want to show hide a field based on a checkbox.  I thought I had it working then it does not.(I'm new to some of this part of SNow) What I have is a form with 3 checkboxes with fields under them that I need to do the ...

Steve42 by Tera Expert
  • 6041 Views
  • 12 replies
  • 2 helpfuls

Resolved! Are there any REST APIs for AI Search?

Hi Team, Are there are REST APIs available for the AI Search feature? currently I see an API in the 'now' namespace called - 'AI Search Assist REST Service'. But I cannot seem to find any API documentation on this like what parameters are accepted, w...

find_real_file.png
Raskill1 by Giga Contributor
  • 8187 Views
  • 4 replies
  • 6 helpfuls

How to add comments to tickets when UI action is clicked

For UI Actions, how would I add to the script to create a ticket comment whenever the button is used (i.e. if an analyst clicks the Send to Callback button in the ticket, put a note in the comments saying something like "Send to Callback button click...

MrBun256 by Tera Contributor
  • 3395 Views
  • 3 replies
  • 1 helpfuls

Resolved! How to redirect to an external URL from a catalog item

Hi, I would like to create a catalog item that redirects to an external URL.  In the past we have used the link icon and other things to achieve this, however, we're now not using any of these elements on any of the pages and only use the service cat...

Daniel Voutt by Tera Contributor
  • 4665 Views
  • 3 replies
  • 5 helpfuls

Resolved! Script to build JSON

Hi,   How do I build a JSON request for a Webservice call to be in this format?   {                "Address_Billing":                {                              "Description": "{DESCRIPTION}",                              "CompanyName": "{COMPANYN...

maryc by Tera Contributor
  • 14736 Views
  • 6 replies
  • 7 helpfuls

Resolved! How to change date format to Month DD, YYYY

Hi, How to change date format from YYYY-MM-DD to Month DD, YYYY (for instance May 07, 2021)? script include function getEmployeeDate: function() { var grHRProfile= new GlideRecord('sn_hr_core_profile'); grHRProfile.addQuery('...

find_real_file.png find_real_file.png
kris29 by Tera Contributor
  • 5103 Views
  • 27 replies
  • 6 helpfuls

Resolved! Filter User Field to Show Manager, Manager's Manager

I am trying to create a Catalog Item with (among other things) the following two fields: Submitter and Approver. I want to put a filter on the Approver field, so it is dependent upon the Submitter.  Basically, the choices for Approver should be limit...

jmiskey by Kilo Sage
  • 3005 Views
  • 9 replies
  • 3 helpfuls

Resolved! How to create Dynamic Filter Option for Department

Our team wants to create a dynamic filter option that allows a someone to filter a list by the logged-in user's Department.  We tried to follow the ootb Me filter, but couldn't get anything to work.  In the script, we have  gs.getUser().getDepartmen...

yundlu316 by Kilo Guru
  • 4505 Views
  • 6 replies
  • 5 helpfuls