We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

Forum Posts

Resolved! HTML text in Knowledge Article Bulk Import

Hi all,I am currently doing a bulk import of knowledge articles in HTML format via the Import functionality on record list view. I noticed that it can import with a breeze. However, since my text are in HTML format, I have to go into every single imp...

find_real_file.png
Alex Ng by Tera Contributor
  • 7180 Views
  • 12 replies
  • 0 helpfuls

Resolved! add seconds and convert to date

I have one duration field so I converted it to seconds using attribute  set to seconds. This value is milliseconds and so to get value I used:  (time_left is the duration field value)var Duration = (current.time_left.getGlideObject().getNumericValue(...

radt by Kilo Guru
  • 4026 Views
  • 12 replies
  • 0 helpfuls

Integrate Sharepoint web part on Service Portal homepage

I want to know if someone has been able to integrate a SharePoint web part into the Service Portal. In our company, we are using SharePoint as intranet and there is a web part that contains the IT system status (see screenshot). This "IT system statu...

find_real_file.png find_real_file.png
karrierr by Tera Contributor
  • 2267 Views
  • 2 replies
  • 2 helpfuls

Resolved! How to get user full name from user id

In Performance analytic, I need to get the full name of the agent from the created_by field. And the script below doesn't seem work.Any idea why?function getUser(userName) {         var grUs = new GlideRecord('sys_user');         grUs.get('name',user...

tsoct by Tera Guru
  • 20500 Views
  • 7 replies
  • 8 helpfuls

[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
  • 6124 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
  • 8214 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
  • 3019 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
  • 6923 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
  • 9089 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
  • 3681 Views
  • 3 replies
  • 1 helpfuls