How to Write a Custom Connector: CSV Connector Example
Published Feb 15 2019 01:51 AM 413 Views
First published on TECHNET on Dec 30, 2009

One of the most important common ways partners and customers will extend Service Manager is to create custom connectors to get data into the system.  There are many ways of doing this and we will catalog all of them at this blog post .

The post and linked (at the bottom) Visual Studio project and detailed implementation guide describe how to build a CSV “connector”.   It  builds on the idea in this post CSV Import Connector using the Service Manager workflow platform and PowerShell of using the Import-SCSMOjbect PowerShell cmdlet to import the data in a CSV file.  This particular example takes it to the next level by allowing a user to quickly create a CSV connector instance using a wizard in the Connectors view in the main console.  Once the connector is created it can be managed like other connectors – edit, delete, and enable/disable.

While the main purpose of this example is to show how to create a fancy custom connector it also is good for showing how to create console tasks, task handlers, and using the wizard/property sheet framework.  It also shows how to use the SDK to manipulate EnterpriseManagementObjects and create/edit/delete Rules in a management pack.

The end result is a user experience that looks like this:

Opens this wizard:

Provide configuration…



Which then creates a connector…

That you can manage like any other connector…

including editing the configuration…

You can get the source files for the project and a detailed document describing the implementation from here:

UPDATE: This is now a Code Plex project.  You can download just the Released versions to install in your environment and use or you can contribute to the project by joining up as a developer on the project.

This project is intended more for a developer audience!  If you want to simply use the solution, please be aware that this is not an officially supported component of the Service Manager product.  It has been tested somewhat, but you are on your own to use it.  To use it, please follow the directions in the Deployment section of the attached document.


Version history
Last update:
‎Mar 11 2019 08:20 AM
Updated by: