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

Forum Posts

Resolved! Display Field Value Dynamically

I have a reference field Dept Contacts and another field called Department Cost Center which displays cost center information of the employee like 8900. I want to display Dept Contacts based on Cost Center information. Like if Department Cost Center ...

Pintu2 by Tera Expert
  • 2003 Views
  • 9 replies
  • 0 helpfuls

Planned Duration Field on Project Task form

Hello, Firstly, MERRY CHRISTMAS to everyone. There are two duration fields on the OOTB project form called work_duration and work_effort. We haven't chnaged anything and so, provided the preference is ticked, the actual effort sums from approved tim...

find_real_file.png find_real_file.png

What is the use of sent to event creator checkbox in notification?

Hi I am triggering notification through event - BR (after insert) - gs.eventQueue('Notify_Assigned_to',current,current.assigned_to,""); Here whats happening if i am checking event parm1 checkbox only then the mail is not triggering if i am checking b...

find_real_file.png
PP12 by Giga Contributor
  • 20499 Views
  • 17 replies
  • 17 helpfuls

Resolved! Scripted REST API with XML Response

Hi all,I am new to ServiceNow and Scripted REST APIs. I have looked at several resources and have not been successful in getting an answer. I would like my Scripted REST API to return XML. Is this possible? It seems others are only returning XML when...

find_real_file.png

users session constantly locked out from sessions

Hi folks,  I have been trying to assist with my users who have been randomly logged out from sessions, e.g when they have logged in a session both on Firefox and Chrome two browsers,  after a short time, they are logged out automatically.    In sys_u...

georgechen by Kilo Guru
  • 2081 Views
  • 4 replies
  • 2 helpfuls

Groups & Roles in Scoped App

Developing a scoped app. Creating roles within that SA. But Groups (to add to a role) seem to be created in the Global instance. Therefore a group created for a scoped app role, is manageable from the global environment by anyone who can edit groups....

kshaw by Giga Guru
  • 2996 Views
  • 1 replies
  • 0 helpfuls

Email validation in service portal

Hello I have a requirement where we need to validate email address in the service portal , where should i write the script ? on the widget client controller or client script on the widget ?and we want to accept any email address @gmail.com     , can ...

find_real_file.png
RudhraKAM by Tera Guru
  • 2474 Views
  • 5 replies
  • 1 helpfuls

Resolved! How to pause or stop time in field time worked

Hi,I have a client script to set time worked field as read-only if the ticket is created more than a month ago. I already set it to read-only and make hidden the pause/play button but as we have a setting to Start timers automatically and mine is set...

dianemiro by Kilo Sage
  • 7409 Views
  • 9 replies
  • 1 helpfuls

How to query glide list

Hi, I am trying to query a Glide list field in group table. I am trying to print list of records whose group type is not catalog. Here group type is glide_list. How to achieve this.

Raghu9 by Kilo Expert
  • 4917 Views
  • 7 replies
  • 1 helpfuls

Uploading HTML KB articles using REST API

Hi, We have a requirement to upload all externally hosted knowledge base HTML files to service now. HTML files contains few references to images and links to PDF. I have couple of questions, a. Using REST API(Table API), I was able to add new record ...

Rajesh12 by Kilo Contributor
  • 3242 Views
  • 3 replies
  • 2 helpfuls

Resolved! How to create a Database view for three tables

Hi All,I have a doubt for creating a Database view for three tables.I have Authoritative source content, Control and Policy table.Authoritative source contents are linked to Control and Controls are linked to Policy, Authoritative source content and ...

Resolved! Hide "Submit" button in a Catalog Item

Hi,I need to hide the "Submit" button in our Service Portal, only for one Catalog Item.Do you suggest using a Catalog Client Script or to change the whole SC Catalog Item widget script?Thanks,Federico

show field message always

Hi All, I am displaying few project code formats based on country.  I wrote on change client script on country field. if(country == 'xx'){ g_form.showFieldMsg('project_code','AAxx-xx-ZA')', 'info'); if(Country =='yy') g_form.showFieldMsg('project_co...

MMKK by Tera Expert
  • 3291 Views
  • 3 replies
  • 0 helpfuls

Page refresh after clicking Save button

As per the requirement when I click on Save button then only it should refresh portal page/browser. Button Configuration on Client Side controller c.uiAction = function(action,value) {if (c.submitted)return;c.data.action = action;c.data.value = value...

CA5 by Tera Contributor
  • 4760 Views
  • 3 replies
  • 0 helpfuls