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

Articles

Generating a PDF from HTML

This is a brief guide to using the GeneralFormAPI Script Include to generate a PDF from an HTML source. There are a few utility classes for generating PDFs but ultimately they all end up in GeneralFormJava, which is a set of wrapper classes for iText...

tim2222 by Kilo Guru
  • 20772 Views
  • 15 comments
  • 15 helpfuls

Updating the OOB Mobile Agent Approvals Applet

If you're using or are looking to use the out of box My Approvals applet in the new ServiceNow Agent app you may notice that it is created a bit different then other applets you create. The reason for this is that the App is pulling data from three d...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png

Integration with Dropbox API

Hello, In this article, I will show you steps on how you can integration ServiceNow with Dropbox API with simple REST API.   I am querying the incident table and fetching all reocrds which are created in the last week and transferring the attachments...

dropbox_output.png

Getting Instance Scan Linter Check working

Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field   Hi there,   Linter Check, one of the last undocumented and unrevealed parts of Instance Scan. Or actually, not undocumented anymore… ServiceNow published a bit more docu...

Is it data or configuration ?

Story -------- So you're relatively new to ServiceNow? And you are tinkering around with lots of stuff in the platform, and trying to figure everything out? Maybe you've got your first assignments as a Administrator or as a Developer, and are now div...

ui-action-highlight.png after-click-config.png after-click-data.png

Allow All Users to Find Instance's Release & Patch Info

Hello, I just wanted to share with the community a way to make your ServiceNow instance's release and patch information available to all of your users. I tried finding this solution on the community but was unable to find it in my search results. Thi...

find_real_file.png
JosephW1 by Tera Guru
  • 1219 Views
  • 3 comments
  • 2 helpfuls

Make an update set as your current update set via Script

Here is how you can make an update set as your current update set. Example: var gsus = new GlideRecord("sys_update_set"); gsus.initialize(); gsus.application ='global';gsus.name = 'Myupdateset_v1';gsus.description = 'Make it as current'; var upsetsys...

Narsing1 by Mega Sage
  • 3137 Views
  • 3 comments
  • 5 helpfuls

Using Multiple Email Templates

I recently ran into a situation where the fulfiller on a certain set of incidents needs to send emails to differing recipient groups so that all of the correspondence stays with the incident.  For these purposes, Additional Comments or similar will n...

find_real_file.png
johnfeist by Mega Sage
  • 1797 Views
  • 2 comments
  • 1 helpfuls

Filtering within the Service Portal

Filters with a data table within the Service Portal So this is my first share project, and I will be using this article to further explain the why's and how's for the project.Link Why We started using the CSM module, and the page used "csm_my_lists" ...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png
Wybren1 by Tera Guru
  • 6236 Views
  • 2 comments
  • 3 helpfuls

Creating custom view for any table

It's very useful for Us as well as other users too. It's great to display a piece of data on the screen from the tables. Steps to create custom View on tables:- 1) Click on the Hamburger icon (Context Menu) right next to any column name  2) Click on...

find_real_file.png find_real_file.png find_real_file.png find_real_file.png
Sanket1 by Giga Contributor
  • 9125 Views
  • 1 comments
  • 1 helpfuls

g_form.nameMap & g_form.resolveNameMap

g_form is used very heavily all over in ServiceNow. Though, it has a lot of documented and undocumented functions/methods. One of the undocumented GlideForm Method is "g_form.resolveNameMap" #g_form.resolveNameMap: 1. Returns array of object2. The Ob...

find_real_file.png

How to make attachments mandatory based on user inputs on a service catalog request form before submission in platform or native or portal UI when requesting separately or in order guide?

Note: The functionality explained below uses DOM to achieve desired outcome. From the portal perspective, the approach will only work if the OOB widgets or widgets copied from OOB code are not modified drastically, especially the bits of code which d...

Top Contributors