How we can update custom js file for ServicePortal?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2018 01:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2018 01:41 AM
By custom js do you refer to a custom script include or something like this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2018 08:56 AM
There are many ways to add a custom JS files to Service Portal. If it's specific to one or more widgets, you can use "dependencies" or "angular providers"... or if you just want to include it on page load you can add it to the Theme using the "JS Includes" related list.
Hope that helps.
Find many similar articles and tutorials at: https://serviceportal.io
-----------------
Nathan Firth
Founder and ServiceNow Architect
NewRocket, Inc.
nathan.firth@newrocket.com
http://serviceportal.io
http://newrocket.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2018 01:12 AM
Hello Nathan,
Thanks for your update. We have another issue like we have to reference field on portal. On basis of first field we need to populate the value in second field.
Like Location on base User Profile.
Thanks