ServiceNow APIs as Java Classes

General 4 Comments »
by:

APIs provide classes and methods that can be used in scripts to define functionality. ServiceNow provides APIs as JavaScript classes. Like all rock hard ServiceNow developers we use this classes to create or modify out of the box functionality. Since the Calgary release the API classes were completely changed. As an example, back in the days you could use ‘Packages.com.glide.ui.SysAttachment’ but those Package Calls are not available anymore.
Continue reading…»

Back to the Basics with Relationships

General No Comments »
by:

ServiceNow is one of the most powerful platforms available in the IT Service Management market. As a cloud-based company they are still inventive with their automation. A few times per year ServiceNow introduce new releases with new or enhanced functionality. Each time I am very curious what they will offer in new releases. But at the same time it might confuse administrators since they will have various options to create functionality in the tool.
Continue reading…»

Social Media integration

General No Comments »
by:

Social media and other online communities are becoming essential for organizations to improve their support and boost productivity. In this blog post I am asking for your opinion. We already have Social IT in ServiceNow but this plugin cannot be integrated with other social media such as Facebook, Twitter or LinkedIn.

The major parties all have the ability to integrate with their system. I am considering integrating the full API functionality of LinkedIn. I want to make it simple for professional audience to discover and distribute their content with ServiceNow users.

The screenshot shows an example I have made to integrate a basic LinkedIn functionality. By obtaining the Caller field I push a search to LinkedIn with my profile as result. I am interested in your opinion and would like to hear if your organisation will use such functionality in ServiceNow?

Enjoy and if you have any questions you can reach me at .img[at].img.

Verifying List View selection

General No Comments »
by:

One of our customers recently had a requirement that I would like to share here.
The customer wanted three things:

  1. Create a new record directly from the list view;
  2. Relate the newly created record to another table;
  3. Redirect to the new record.

It’s not rocket science but I need to build in some user friendly logic.
The first one, the user has to check one checkbox in the list view.
The second, it’s not allowed to check multiple checkboxes.
The third, if a record has been related previously an error message must appear on the screen.


Note:
You can download the zipped XML file using the download button below.
[download id=”3″]
Continue reading…»

Windows application to create Incident with attachment using SOAP web service

General No Comments »
by:

Nowadays it’s getting more common to use Software as Services (SaaS) applications than traditional applications. There are enough advantages for using SaaS but you need to consider the (obvious?) circumstances. Most obvious circumstance is that you must have a connection to the Internet in order for your SaaS applications to function. Therefore I investigated the possibility of a traditional Windows Front End application. In order to communicate with Service-now.com you have to establish a connection through web services. These phases are explained on the SNC wiki step by step.

In this blog post I would like to talk about uploading an attachment through web services. Normally you can upload an attachment by specifying the folder path in the programming code. For security reasons this does not work in Service-now.com since foreign programming code is not allowed on the Service-now.com servers. But there is a workaround called Base64. This function encodes the attachment file on the client side and through a directional SOAP message is able to communicate with Service-now.com.

The attachment creator I’ve build is programmed in C#. Most obvious tool you can use is Microsoft Visual Studio. You can download the Express version for free on the Microsoft website. Through this blog post I will provide you the basic elements to program this application. Programming an application such as mine isn’t that difficult if you have the right fundaments. Therefore I assume you are familiar with programming in C#.
Continue reading…»