Showing posts with label K2. Show all posts
Showing posts with label K2. Show all posts

Sunday, August 26, 2007

News Bits

Various bits of news and rumours:

  • K2 blackpearl has gone RTM. You can download it from the K2 website after logging in with your user ID. Chris O'Connor is already blogging about the installation...check out his blog postings here and here.
  • There is a SharePoint Asset Management Toolkit currently in beta at Microsoft. The intention behind it is to give an organization an overview of all the SharePoint assets floating around on the network: WSS sites, portals, etc. The idea being to get more of a handle on what's being built out there by enthusiastic 'Pointers.
  • If you're keen on exploring LINQ, you'll probably be interested in the LINQ to SharePoint community project. Led by Bart De Smet, C# MVP, the project is currently in Alpha 0.2.3 (which is only four light years away), and the aim is to provide some of these following features (taken from Dimitri Clement):  

    • Custom query provider that translates LINQ queries to CAML, the Collaborative Application Markup Language used by SharePoint for querying.

    • Support for LINQ in C# 3.0 and Visual Basic 9.0.
    • Entity creation tool SpMetal to export SharePoint list definitions to entity classes used for querying.
    • Visual Studio 2008 integration for entity creation (a.k.a. SPML).
    • Can connect to a SharePoint site either using the SharePoint object model or via the SharePoint web services.
    • Planned support for updating through entity types.

    You can find the bits at LINQtoSharePoint on CodePlex and the team blog is at http://community.bartdesmet.net/blogs/LINQtoSharePoint/.

Friday, August 10, 2007

Tech.Ed 2007 Gold Coast Day 1

So Tech.Ed 2007 came and went on the sunny Gold Coast and over the next few days I'm going to be sleeping and blogging (not necessarily at the same time). Here's my recap of the first day:

The keynote speech was given by Michael Twigg, the Production Resource Manager of AnimalLogic, an Australian animation firm that makes special effects for movies, TV, and commercials. Some of their achievements include effects work for the Matrix (the ghost twins), 300, and Happy Feet. It was an interesting example of IT in an industry I'm not familiar with.

They can spend months designing a shot that will be used for two seconds. As one example Michael showed us how many levels of matte painting, 3d effects, and live shots that all had to be pasted together to create a two-second shot of Xerxes' army crossing into Greece for the movie 300.

We also learned the surprising fact that all their servers run Windows NT! Well, at least he didn't mention the "L" word (no, not that "L" Word - the other one).


The first seminar I attended was "Lap Around Visual Studio 2008" by Tony Goodhew, the Product Planner for the product. Tony described the major goals of the product version, namely language advances, web development improvements, and increased support for AJAX and JavaScript, and CSS.

He covered some of the neat new features in VS2008, including framework targeting, nested master pages, the CSS property windows, split pane view, and LINQ to SQL.

Other things he touched  on:

  • Hitting CTRL while using IntelliSense makes it translucent so you can see the code that is below it.  Highlighting code while hitting CTRL-K-D formats it, which  is useful when you are pasting XML or HTML fragments into a page.
  • Tony also talked about XAML and how Visual Studio is the developer's platform, while XAML presentation can be handled in the new Expression suite that Microsoft has released. XAML separates the concerns so both roles can work in parallel and neither overwrites the other's work.
  • There is a service editor in Visual Studio for WCF projects. Not sure if this is included in the previous WCF extensions toolset but it looks quite useful.
  • There is support for local data caching using the SCCE-based local data cache. This is intended to help provide a standard solution for applications that may have infrequent access to a network. Tony demonstrated how to setup the wizard driven cache and then showed an app connecting and disconnecting to prove that the local cache would synchronize properly.


"Project 2007 Timesheets and Reporting" was the next seminar on the list. It covered the various options for using Project 2007 and Project Server 2007 for creating timesheets, assigning and tracking human resources, and presenting and reporting on this information. 

As expected, the new version of Project Server 2007 uses WSS 3 project sites to host Project actions, plans, and reports.

When an employee logs in to the Project Timesheet site, he is presented with a series of links, grouped into "Tasks", "Timesheets", "Approvals", "Status Reports", and "Issues and Risks".

Each employee has a "My Timesheets" view, which seems to be a list using a custom content type. The content type allows him to create a new Timesheet entry, and the items in the entry can be divided up into project- and non project-related tasks (for administration, research and development, or other purposes). There is also the obvious notion of billable and non-billable hours.

Project Managers and Timesheet Managers get top-level approval and rollups of all the timesheets and project plans, as you would expect from such a tool.

Managers can also view predictions of future timesheet entries, for instance when an employee submits a request for leave. On the My Timesheets screen there is a handy little icon that shows whether a vacation request has been approved or not (it looks like a KPI).


Next I attended a seminar called "Web 2.0 Programming", by Microsoft's Director of Web 2.0, Michael Platt. I found this to be so insightful and it dovetails so well with a couple of other seminars that I am going to blog about those separately.


After the last seminar of the day (using Dynamics CRM 4 for handling events - basically hooking CRM up into your business platforms) I headed off to the K2 Underground Party, hosted at Onyx just down the road from the Conference Centre.

At the party I finally had a chance to meet some of the people whose names I have heard or blogs I enjoy reading. I met Jey Srikantha and Chris O'Connor, aka "Grumpy Wookie" (who turns out to be a fellow Ontarian by birth!) , and I also met Anthony Petro who I had previously interviewed and Chris who worked on programming K2 against the SharePoint object model (I'm sure he enjoyed it!).

Some of my colleagues from Dimension Data - Jeremy Hancock, Ben Johnston, and Alan Coulter - were also there, and we caught up with some former team members, amongst them K2 Insider Bruce Swiegers (who blogs at http://k2insider.blogspot.com) and Ian Newark, who is a Business Development Manager at K2 now.

It was a good group of people and lots of fun. Best of luck to K2 with their product; it seems like they are seeing a lot of interest from the dev community so far. I even saw one Tech.Ed attendee covered head to toe with K2 Underground stickers - I guess you could say he is committed (or should be)!

Thursday, July 19, 2007

Shaun Leisegang, K2 principal technical specialist, gave a webcast just now about how K2 blackpearl integrates with several Microsoft technologies. He showed how K2 workflows can be built and hosted in MOSS 2007, in Visual Studio, and in Visio. Some of the things I learned (in no particular order):
  • Environment variables make it easy to transition workflows between environments without modifying any code;
  • The updated K2 Tasks Web Part has a batch functionality allowing a user to select and approve or disapprove multiple tasks at once. The web part also has a new quick search that helps filter the lists of tasks, and exposes task actions right on the web part for redirecting (reassigning) tasks, delegating them, or performing some other action.
  • The Visio integration allows a user to import existing K2 workflows into Visio...Once a workflow has been chosen from the file system, it pulls in all the workflow elements into the Visio environment. At this point those elements are "orphan activities" but a user can select an object on the Visio page, and assign one of the orphan activities to it, create a new activity, or make it the "start" activity. This process is essentially a mapping between the objects on the Visio pages and the K2 workflows.

Shaun showed how easy it was to add things like email disclaimers to workflow templates. Since K2 is built on top of Windows Workflow Foundation (WF) each of the workflow activities can have custom code.

Shaun also referred to two K2 templates for SharePoint user and document management which help with provisioning and permissions, although these weren't demonstrated. At the end of the presentation one of the questions was about these: they were described as
"the SharePoint Document Event template to handle the movement and manipulation of documents and the SharePoint Users Manager event template to handle MOSS security permissions". Both of these sound quite useful as they are frequently requested by clients.

Another attendee asked about Oracle integration. Shaun stated that templates to connect to Oracle have been developed and K2 "also supports the Microsoft BizTalk 2006...adapters which support Oracle".

Wednesday, July 11, 2007

K2 has announced a release date for blackpearl! The date will be August 6. From the press release:


K2 blackpearl gives business and technical users the ability to collaboratively design, assemble, execute, monitor and optimize dynamic business applications. K2 blackpearl includes business process management capabilities. Although blackpearl's capabilities far exceed those of K2's previous offering, K2.net
2003, existing customers can upgrade easily.

I'm not sure if pricing and licensing information is currently available somewhere or will be published on their website; as I recall for the previous version you had to inquire about it.

K2 will present information and product demos this week at the Microsoft Worldwide Partner Conference 2007 in Denver, Colorado.

You can view the full press release here.

Tuesday, July 03, 2007

After K2's BlackPearl demonstration a few weeks ago, I had a few questions. I contacted Josh Swihart at K2 and he and Anthony Petro, the Technical Product Manager, replied to me:

Question: I know the BlackPearl Report Builder uses Reporting Services – can these reports be exported and even hosted on a distinct Reporting Services server or hosted in SharePoint’s integrated Report Centre? The reason I ask is that a lot of Microsoft products - MOSS, Dynamics CRM - all use Reporting Services, so from a server topology perspective it would be great to have them all publish to the same RS server and manage things a little more centrally. Josh and Anthony: Yes, when you install BlackPearl you must provide information on which Reporting Services server you want to connect to. The Report Designer will use this server when you “publish” a report to RS. Once the report is in RS, you can use standard UI in RS, or compatible apps like SharePoint RS web parts, to view these reports.

Question: I wondered if the autogeneration of InfoPath forms using that Forms Designer item that Adriaan demonstrated would be available by Release-To-Market or shortly thereafter. This would be a nice-to-have for InfoPath 2007 development in conjunction with MOSS.
Josh and Anthony: The SharePoint integration wizards can use either ASP.NET or InfoPath forms server forms. Both technologies will have default forms that are installed with BlackPearl to be used for Instantiation, Association and Task Form. Note that there is more info on this in the SharePoint whitepaper. Additionally, we have added the Forms Generation Client Event which will allow you to generate ASP.net forms automatically for Process, XML and SmartObject data in the process. Post-RTM we will expand the forms generation client even to support autogeneration of InfoPath forms.

Question: I read this in one of the K2 Black Pearl pdf documents:
“K2 “BlackPearl” process information is availableto MOSS users through
integration with the MOSS Business Data Catalog (BDC). All process information is
searchable (security is respected) and can be exposed through list columns and
BDC web parts.”

Does this mean that for any custom workflow I create in K2, a BDC application schema is automatically generated for me to upload into the BDC Catalog? Or do I still have to create a schema for this by hand? It mentions “process information” - does that mean just the time it took the workflow to execute, the name of the originator, etc, or does it also expose SmartObject data and the like so that I can pull those into SharePoint via the BDC?
Josh and Anthony: We provide the ability to surface any SmartObject data through BDC - including process and activity data configured as SmartObjects. We have created a K2 Admin tab in SharePoint Central Administration to make it easy to identify which SmartObjects, and optionally their associations, should be exposed in BDC web parts and/or search. The BDC application metadata for connecting to the SmartObjects is automatically generated and configured as result of the actions on the admin page.

Thanks Josh and Anthony for taking the time to respond!I'll also mention again that there is a new community forum called K2 Underground for exactly these kinds of queries. There is also some documentation available on K2's blackpearl site which describes some of the new features. Plus there's a beta to download and play with!

K2 Underground is here: http://k2underground.com/. K2 Blackpearl website is here: http://www.k2.net/bp. You can send an email to beta2@k2.net to get your hands on the beta 2.

Saturday, June 09, 2007

K2 has a new community-driven website, K2 Underground, which replaces the existing forum.k2workflow.com site. The new community area allows registered users to participate in forums, blogs, groups, and file shares, although unregistered users can browse the site. It's a good idea and looks well built; it'll be interesting to see if the K2 community coalesces around it.

You can access K2 Underground here.

Thursday, June 07, 2007

Yesterday I saw a great webcast about K2 [Blackpearl] given by Adriaan Van Wyk, CEO of SourceCode Technology Holdings. For those of you who haven’t tried it, K2 is a Business Process Management (BPM) or “workflow engine”. BlackPearl is pretty exciting stuff because it is built directly on Windows Workflow (WF), Microsoft’s new workflow framework.
K2 has just released a public Beta 2 version of their engine. Beta participants will receive a 25% discount on all Blackpearl software if they order it before 30th June 2007 (but licencing info won’t be made available for a few more days!). RTM is expected within a few months.
Key points brought up from the webcast:

  • BlackPearl is heavily integrated with the Office 2007 stack, including SharePoint. K2 workflows are hosted in SharePoint libraries just like the out-of-the box MOSS workflows are; the appropriate workflow actions are easily available from the Actions menu; workflow tasks appear in Office 2007; and so on.
  • Workflow development “scales” according to technical ability and need. A Business Analyst can draw up a general business process using Visio and deploy to SharePoint. A developer can import that workflow into Visual Studio, add more complex logic, and then re-export the changes.
  • Related to that last point….the K2 Studio is now fully integrated into Visual Studio – so no mucking around in a separate IDE!
  • All K2 BlackPearl workflows are xoml files (the WF format).
  • All workflow actions are fully surfaceable using an API, which means you can easily incorporate them into your other applications.
  • K2 provides the source code for its templates, allowing you to poke around and customize as required (although whether they will support any template changes you make remains to be seen!).
  • Exporting K2 2003 workflows to a target server was a bit difficult. Now you can publish your workflow as a CAB file, which combined with an XML configuration file for each environment means you can deploy K2 workflows with no K2 software installations required at all on the target servers! This will really please server administrators. During the webcast Adriaan demonstrated how you can extract a K2 workflow CAB file using a command line on the server.

Some other nice features:

  • There is a Forms Generator tool to autogenerate .aspx pages from K2 workflows. Autogenerating InfoPath 2007 Forms will not be possible at RTM but hopefully shortly thereafter.
  • Workflow process information can be surfaced in SharePoint using the Business Data Catalog.
  • Smart Objects allow you to keep your BPM data outside of K2. This is a great feature because you can reference the Smart Object’s unique ID in the workflow, but update the rest of the SmartObject’s properties over time, and all workflows using that SmartObject will still work. This simplifies maintenance of data structures.
  • Reports are generated using Report Definition Language, which means you can create and customize them using Reporting Services technology.
  • A Context Grid allows K2 to make decisions based on the runtime environment, such as rerouting tasks or messages based on a user’s availability (perhaps determined by Live Communications Server).
  • Black Point is an AJAX designer which is hosted in MOSS. This component allows business users to generate and modify workflows without even leaving their browser window.


Workflow is a vital component of the SharePoint story – enabling customizable, real-value business solutions in a reasonable timeframe. You can already develop workflow using Visual Studio or SharePoint Designer, but a sophisticated product like K2 really takes much of the pain away, allowing you to focus on the business requirements. K2 continues the trend towards declarative software development.

With SharePoint 2007 and workflow forming a solid platform, I think we’ll soon see a new kind of Extreme Programming: one developer and one business analyst paired together at a computer, happily rolling out business solutions.