Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

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

Forum Posts

Resolved! using chartjs or highcharts in widget

Hi Experts, I am building a widget and would like to include a donut chart in it.   I know that there is a chartjs widget in ServiceNow share that I could use and embed within my widget, but I need more flexibility than the reports that SN provides. ...

yundlu316 by Kilo Guru
  • 5513 Views
  • 5 replies
  • 3 helpfuls

Resolved! Specify Page URL Parameters in Menu Item

Is there any way to specify the Page URL parameters when creating a Service Portal menu item (sp_rectangle_menu_item)?   Here's the config page I'm looking at: For example, if I want to link to a specific Service Catalog category page (like /sp?id=sc...

menu_item_question.jpg
Nia McCash by Mega Sage
  • 2657 Views
  • 1 replies
  • 0 helpfuls

Create global records from scoped application script

I am creating a scoped application.   Within the application, I'm creating a workflow to sync products from an external source.   This sync process will create sc_cat_items in ServiceNow.   However, when executing the following code:var catItems = ne...

Screen Shot 2017-03-28 at 8.27.38 AM.png
bwhiton by Tera Contributor
  • 2728 Views
  • 3 replies
  • 1 helpfuls

Set/Remove "read-only" status for form fields

As per my requirements I need to open existing record and disable (set "read-only" to true) all form fields.Also there should be a button on a form which will enable (set "read-only" to false) all form fields.I did the following:1. Created client scr...

stryker129 by Mega Guru
  • 5626 Views
  • 6 replies
  • 0 helpfuls

Resolved! Database View not working after upgrade

We're upgrading from Geneva to Istanbul.A database view that hasn't been changed in over two years is now not returning any results. I've confirmed that there are no differences between the version in our Geneva instance and the one in our Istanbul i...

4-12-2017 12-21-53 PM.png
Sue Frost by Giga Guru
  • 4303 Views
  • 14 replies
  • 0 helpfuls

Embedding widget with options

Hi Experts,I'm trying to embed the chartjs-report widget found in the share site (ServiceNow Share ), but am running into issues with the options.   When using chartjs widget on its own, the user has the ability to edit the title, report, report type...

find_real_file.png
yundlu316 by Kilo Guru
  • 3913 Views
  • 3 replies
  • 1 helpfuls

Question about URL Type field

Hello all!!I'm not sure how URL type fields work. I know that once locked, they display a hyperlink.-> But would we be able to click on it and go to the path on the network? Like if we store a path to a folder, would that folder be opened once the UR...

Get fields and their values from another table in SP widget?

I am working with the Ticket Fields widget in Service Portal. When I look at the code, I see var fields = $sp.getFields(gr, 'fieldnameshere');From what I can tell, this is simply getting specified field names from the current record. Then in the html...

robhaas by Tera Contributor
  • 8170 Views
  • 4 replies
  • 7 helpfuls

Slow business rule in logs

Hi SNC,I have an issue with a business rule. The business rule is set to fire when a change is assigned to a specific assignment group and the state changes to Closed. When the conditions are matched, the business rule sends a rest outbound message t...

Screen Shot 2017-04-13 at 12.28.53 AM.png
mitzaka by Mega Guru
  • 3329 Views
  • 3 replies
  • 0 helpfuls

Resolved! Author cannot approve own Knowledge Article

Team...I'm looking for a lightweight solution to prohibit the author of an article from approving their own article. I have added the 'Approvers' related list to the Knowledge v.3 form and know that I can change the query for it to leave the author o...