K2 smartforms custom theme tips

2 Mins. Read.
So, it’s been a while since i’ve written something. Yes, i’m still alive – a lot has happened in personal and professional life! With K2 smartforms already being at release 1.0.4, it’s about time I wrote something about it! A lot of customers are using a custom theme to create forms that are in their company’s style/look&feel. There’s an article on how to create a theme, but here’s my version of it:

K2 SmartObject Services – Configuration update, static endpoint

3 Mins. Read.

After the release of K2 1370, there have been some small updates to the K2HostServer.config file for your SmartObject Services configuration.

The basics is pretty simple, KB1370 added the ability to change binding and binding configuration on the REST and WCF endpoints separately. Because the binding configuration also defines the authentication mechanism, this means that REST endpoints could use basicHttpBinding with Basic authentication, while the WCF endpoint uses wsHttpBinding with Windows authentication. It also allows us to run either one endpoint on HTTPS while the other is not.

In my previous post on the K2 Services I showed you how to create a static endpoint, this simplifies the URL and allows you to rename or update the SMO without the endpoint changing. The configuration sections shown in those posts are now outdated and won’t work anymore. Since the KB article describing the change doesn’t have all the parameters, this post is also a note-to-self.

Notes on K2 Inline functions

Yesteday I tweeted about inline functions and how to get your Icon working properly. Appart from all the info in Johnny’s blogpost, there are some other catches as well. Just because i keep forgetting them, here’s a mental note to myself.  It’s a normal class library Start your project with a normal .NET class library. Make sure it’s .NET 3.5. Add references to the following files: SourceCode.Framework SourceCode.Workflow.Functions – this one isn’t always needed.

Not a K2 insider anymore...

1 Mins. Read.
Don’t worry, I’ve just moved a bit closed to [the] Source[Code Ltd]. I’ve worked at Capgemini and its predecessors for 5 years and it was time to do something different. Capgemini is a wonderful company with lots of opportunities. I’ve also learned a lot there and I’ll always look back at it with good feelings. I’m now working for K2NE GmbH. K2NE is a K2 distributor run by Ruan Scott who, if you have been in contact with K2 in Europe, you’ll probably know.

K2 on your Mobile

1 Mins. Read.
All the latest updates from K2 have had some “pluming” done for easier access to K2 Services like the Worklist and SmartObjects. The K2 sync services are designed to be used for mobile applications. Just a few months later, K2 has released a iPhone and BlackBerry app to handle your worklist on your phone. The apps are very easy to use and require you to have the K2 Services installed and configured correctly.

MSIE 9 - Integrated Authentication

1 Mins. Read.
I’ve just “upgraded” to MSIE 9.0 within the Virtual Machine i use. Within that VM’s, I use a lot of Integrated Authentication, and my sites didn’t authenticate properly anymore. As it turns out, for integrated authentication to work, i had to put my sites in Intranet zone, not in the trusted zone. Having changed that, everything works fine again.

K2 Workflow Client Services - Video by Eric Schaffer

1 Mins. Read.
In my previous post, I wrote about the new Workflow Client Services that are available within K2. In my post, I created a small worklist page fully based on javascript/jquery/json. Eric Schaffer has made this video describing how you can do this, even creating a action pull down. The video is on youtube, so here’s a direct link: http://www.youtube.com/watch?v=QKIv6C8WnLI

K2 and jQuery: Creating a simple Worklist

6 Mins. Read.

With the release of K2 Services in the 1290 release, we’re able to get all sorts of data using RESTful services. These services provide output in 3 formats:

  • XML
  • ATOM
  • JSON

XML is the default output. ATOM is a feed-style output which is in essence XML. And JSON is the one we’re going to use. JSON output can be seen as the serialized output of a JavaScript object. This makes it very easy to use in JavaScript and especially jQuery.

K2 Services - Part 2

7 Mins. Read.
This blogpost is outdated. Please see K2 SmartObject Services – Configuration update static endpoint if you have any problems with the K2HostServer.config file changes.

Back when 1230 came out, I wrote a pretty long blogpost about the K2 SmartObject Services and (what was the beginning of) K2 Services. K2 Services is the Web Service that exposes a number of interfaces. K2 SmartObject Services is the K2 Server hosted WCF endpoint which allows SmartObject functionality. This post focuses only on K2 Services. The only change to the K2 SmartObject Services that 1290 brought was CRUDE (E for Execute) functionality to the RESTful part of K2 SmartObject Services. I’ll do another post on that new functionality.

This post is a follow up, since the K2 Services has more features in the 1290 release. The service now offers the following endpoints:

  • SyncREST.svc
  • SyncWCF.svc
  • REST.svc
  • WCF.svc
  • WS.asmx

The WCF.svc and WS.asmx have already been covered in the 1230 post. They have changed, but not much, you can read about it in this KB1227 article.

The new sync services are designed with batch processing in mind. This also includes batch-actioning of worklist items so you can do things offline and have your app sync at a later stage. Sync simply stands for synchronization, something you can do with batch processing more easily.

K2 SmartObject Service and Versioning

2 Mins. Read.
This blogpost is outdated. Please see K2 SmartObject Services – Configuration update static endpoint if you have any problems with the K2HostServer.config file changes.

Since the coming of the K2 SmartObject Service in KB1230 , people might have noticed the smartobjectVersion parameter in the managedEndpoints definition. Since SmartObjects have been around, they always had a version. The version number starts at 0 (zero) and increases by 1 (one) when the SmartObject is deployed.