Embed C# or VB code in SharePoint Designer Workflows using the Workflow Power Pack

Clavin Fernandes

Clavin Fernandes

Related Products

PDF Converter

PDF Converter


One of our customers recently wrote in a support email “ If only Microsoft allowed C# code to be used in SharePoint Designer workflows, my life would be so much easier”. Little did this person know that we were in the middle of a development cycle to make his wish come true, just in time for Christmas as well.

The Muhimbi Workflow Power Pack for SharePoint allows custom C# or VB.NET code to be embedded in SharePoint Designer Workflows without the need to resort to complex Visual Studio based workflows, the development of bespoke Workflow Activities or long development cycles.

What does this mean for day-to-day SharePoint Designer Workflow development? When Microsoft released SharePoint 2007, they included a basic set of Workflow Actions and Conditions to allow basic comparison of values and simple tasks such as setting a field value or logging to the Workflow History. If you wanted to do anything else your options were limited to expensive third party workflow tools that would hopefully support the functionality you are after, or writing your own solution in Visual Studio.

From as little as $349, the Workflow Power Pack is the last 3rd party workflow solution you’ll ever need. The possibilities are only limited by your own imagination, for example:

  • Carry out tasks by comparing deeply nested XML data inside InfoPath forms.

  • Create Actions that directly access SQL Databases or other common data sources.

  • Make string, date and numerical operations simple (Finally!).

  • Access any SharePoint functionality using the SharePoint Object Model.

  • Send emails and includie attachments.

  • Create folders in the current SharePoint List or any other list regardless of Site Collection.

  • Control security on individual List Items or entire Document Libraries.

  • Invoke web services or any 1st or 3rd party assembly, for example our PDF Converter for SharePoint or URL Shortener for SharePoint.

The list goes on and on. Basically, if it exposes a .net interface, you can access it using the Workflow Power Pack.

Screenshot-SharePointDesigner450x300Embed C# or VB.net code directly into your SharePoint Designer Workflow

Key features:

  • Embed C# or VB code in SharePoint Designer Workflow Conditions.

  • Embed C# or VB code in SharePoint Designer Workflow Actions.

  • Easily access the Workflow context using the MyWorkflow property.

  • Easily pass workflow parameters in and out of the custom code.

  • Secure the system by controlling access to the assemblies that can be used.

  • Comes with comprehensive documentation and access to a professional and responsive support desk.

Screenshot-CentralAdmin450Secure your system by controlling which Assemblies can be accessed

For more information check out the following resources:

As always, feel free to contact us using Twitter, our Blog, regular email or subscribe to our newsletter.

Download your free trial here (1MB).

Labels: Articles, News, Workflow


Clavin Fernandes

Clavin Fernandes

Developer Relations and Support Services @ PSPDFKit

Clavin Fernandes is a Microsoft Business Applications MVP and works in Developer Relations and Support Services for PSPDFKit.

Have a Question?
We’re Always Happy to Help.

© Muhimbi Ltd. 2008 - 2024
This website uses cookies to ensure you get the best experience. Learn more