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

Forum Posts

Change Password widget update button

Hello all, I am using the "change password " widget in one of my portals. The widget worked fine before but now after I enter all my information and click "update", nothing happens. I made a copy of the widget so I did not alter the original out of t...

find_real_file.png
Maxwell3 by Kilo Guru
  • 1292 Views
  • 3 replies
  • 0 helpfuls

Resolved! How To Create Url that Triggers a Ui page ??

Hi ,   I have a requirement to Trigger UI Page using a Button . Onclick() i am trying to open a Ui page. * Button Created using Ui Actions in a Table's Form  * Both Ui page and Ui action are in the Same scope .                               I have Tr...

Tarun2 by Tera Contributor
  • 2924 Views
  • 14 replies
  • 1 helpfuls

Resolved! Show/hide fields based on logged in user assignment group

Hi Community, I'm working on a catalog item request with the below requirements. My client script isn't working in the Service Portal and I believe it's because I need to use GlideAjax instead of GlideRecord. I'm on a deadline, so any input would be ...

Raksha6 by Kilo Contributor
  • 5070 Views
  • 10 replies
  • 6 helpfuls

Resolved! How to Get Related Child Records of a Record ??

Hi ,  I  Want to get Related  Child Records of a Record . Explanation : I have a Record , which is Parent to Multiple Records of Another Table . Two Tables  " Table "  and " Column"   " Table " has 1 Record .    " Column "  has 5 Records .( These 5 R...

find_real_file.png
Tarun2 by Tera Contributor
  • 6588 Views
  • 3 replies
  • 4 helpfuls

Resolved! Hide header menu items and displaying the required items

Hi Experts, As part of my requirement, I have to hide few header menu items and need to display new item(My Approvals). 1. Need to hide items.  -My Tickets, Service Catalog, Knowledge, Quick Links, Known Issues. 2. Need to display items: - My Approva...

find_real_file.png
Santhosh40 by Giga Expert
  • 2778 Views
  • 2 replies
  • 3 helpfuls

Resolved! How to Get Reference field values of a Record with Record SysId ??

Hi ,  I have few doubts with Scripting 1.How to  know How many Reference Fields are present in a Record ??   i have Record sysd_id                     and  2.How to know the value of Reference Field in a Record ?   Value not  , sys_id of field .   My...

Tarun2 by Tera Contributor
  • 6796 Views
  • 13 replies
  • 2 helpfuls

Resolved! How to Get Reference Field Values of a Table ??

Hi ,  How to know the value of Reference Field values  in a Record ?   (Value) var arr_fields=[]; var fields = new GlideRecord('sys_dictionary'); fields.addQuery('name','incident'); // table name fields.addEncodedQuery('internal_type=reference');/...

Tarun2 by Tera Contributor
  • 11385 Views
  • 12 replies
  • 3 helpfuls

Resolved! Report on sys_choice table

Hi everyone, I try to rise a report using sys_choice table as source of information. If I try to search table in report wizard  "Data source" sys_choice option is not available. If I check list for banned tables in report action sys_choice do not app...

Jose MMR by Tera Guru
  • 2333 Views
  • 9 replies
  • 4 helpfuls

Resolved! Flow designer - Inbound email trigger

Version:  NY Has anyone got the inbound email trigger for flow designer to work? What I want to do is catch an inbound email from a specific user. The user and e-mail address is known and is going to be the same every time. The flow skips the email a...

Resolved! getByFormat is not working as expected

The below script is not working as expected. The variable longDateTime should print value as "December 31, 2019" but it is printing as "December 31, 2020". var current = new GlideRecord('proc_po'); current.addEncodedQuery('u_amat_poSTARTSWITH44004752...

How to set up an announcement in two languages?

Hi friends,   I am trying to setup service portal announcement in two languages. When I create a new announcement, (service portal -> announcements ), I get only room for 1 paragraph. And I would like room for 2 paragraphs, 1 for french and the other...

phantom7 by Giga Expert
  • 2043 Views
  • 4 replies
  • 1 helpfuls

Attachment Upload Rest API - JAVA

Hello ,I am trying to upload an attachment to an ticket using below JAVA code. String postData = "{\"table_name\":\"u_portal\",\"table_sys_id\":\"091feee8ab18110c778\",\"uploadFile\":\"/ServiceNow_Rest/src/com/servicenow/integration/upload1.JPG\"}"; ...

arjun6080 by Kilo Explorer
  • 9389 Views
  • 13 replies
  • 1 helpfuls