Unlike K2 blackpearl, K2 blackpoint does not allow you to leverage custom ASP.NET forms as client events. You will notice in K2 Studio there is no Default Client Event template. In K2 blackpoint the API has been restricted by design.
You can use the blackpoint ADO.NET data provider to access the available K2 blackpoint SmartObjects. These will not however provide functionality to start a blackpoint process or action a worklist item.
If you require this functionality then I suggest that you look at what K2 blackpearl provides
In K2 Studio there is an option in SharePoint Workflow Process template to use user specified Forms. (in advanced mode->Network Share) I can choose aspx and assembly for workflow forms (start, instantiate, task). I found this in K2 blackpoint documentation too (K2 Process Concepts->Workflow Integration Forms Technology->ASP.NET Forms Technology).
May I misuderstood something in K2 blackpoint documentation? What the Network Share option for?
Thanks for reply!
You are correct and you have not misunderstood anything. You can indeed modify the SharePoint workflow integrated forms.
What you can't do is create a completely new standalone web application that interacts with K2 blackpoint. This is what I was referring to.
When modifying the workflow integrated forms have you tried using the K2 ADO.NET data provider to surface process information?
No, I'm tried using K2 object model based on K2 Blackpoint documentation. Under Forms Generation Priciples there is some code example how can I retrieve, update data fields..etc.I use these examples to create pages. I would like to create custom generated forms for interacting with clients. For example If I create bool or Date datafield in K2, I would like to generate the appropriate controls (checkbox, datetime picker).
I haven't tried it myself but it seems there is a ValueType parameter for the data fields which might have what you are looking for.
-Eric
Yes, I tried this also. But In my workflow page only Value and Metadata properties has value. Other properites ValueType, Scope ...etc. hasn't got value, but empty string or null.
You tried this? In your page every K2Process property has value?
No I have not tried it. I just saw the items in the object model and hoped that would work. It seems that they are not populated so I think using the Meta Data field is the only option at this point. I will make a note of this for the Dev team to review.
-Eric
does anyone have a demo with asp.net forms and blackpearl
i am starting to use it
many thanks