For lack of a better name: blog


Creating a plugin for BCS in Outlook

 In this post I will describe the BCSPackagingTool and BCSArtifactGenerator tools from Microsoft. These tools can create artifacts for building a outlook plugin.

This plugin will use the Business Connectivity Services (BCS) from SharePoint to connect to a external system, in this example a SQL but it could als be a CRM, ERP of whatever application.

Imagine your company got a legacy system for projects, events and contacts with the following entities in SQL:

and we want to make the external data (events and customers) available and editable in outlook.

We want to name the outlook plugin CCS (Cool Customers Store) and want it to look like this:



When adding a new event in the calender or contact we want to have 2 way sync with the database.


How to do this?

In this post I want to give an idea on how to create this. This is not a tutorial for the whole process. For this blogpost I assume you already have experience with external content types in SharePoint designer, in another post I will explain how to create these external contenttypes.


  1. First we need to create a folder on the computer with 3 sub-folders: Model, Source and Output;
  2. Select in SharePoint designer the Customer and Event external contenttypes and click export BDC model. We can only export entities that are related to a office item type (appointment, contact, task or post);
  3. Give the model a name and select client;
  4. Click ok and save the BDCM file to the model directory;


BCS Artifact Generator

  1. Download and run the BCSArtifactGenerator from
  2. Give the solution the name CCS and click import model, select the model from step 4;
  3. Click customize on the customer row;
  4. click next;
  5. click next;
  6. Select add a custom task pane for the related items;
  7. Select Add a custom action and redirect it to the external content type profile page;
  8. click finish;
  9. Do the same for event;
  10. Click generate artifacts;
  11. Cut and paste the content from the artifact folder to the source folder we created in step 1;
  12. click finish.

BCS Solution Packaging Tool

  1. Download and run the BCSSolutionPackaging tool from
  2. Fill in the solution name;
  3. Select the source and output folder;
  4. Click package;
  5. Click deploy;
  6. Click install;
  7. Click close;

That’s it! Now outlook wil open with our newly created solution. This is really, really cool!

More info?

Posted by Alexander Ketelaar

Comments (1) Trackbacks (0)
  1. nice article, keep the posts coming

Leave a comment


No trackbacks yet.