I've added a few more controls to the enhancement I am working on. There are now 10 controls in four categories. All of the label controls allow you to provide a .NET format specifier to control the appearance of the text.
Submit Controls
These controls allow you to interact with a process by starting a new instance or actioning a worklist item. All of the other controls require one of these two submit controls to be on the same page.
- K2Start - Starts a new process instance
- K2Submit - Actions a worklist item (this is the original control with a few new tricks)
DataField Controls
These controls allow you to get or set the value of a process or activity level data field:
- K2DataFieldLabel - displays the contents of a data field in a label
- K2DataFieldTextBox - displays the contents of a data field and allows it to be updated
- K2DataFieldHyperLink - displays the contents of a data field as a hyperlink
- K2DataFieldCheckBox - allows you to display the value of a boolean data field as a checkbox
XML Field Controls
These controls are similar to the data field controls, except they work on XML fields. You can specify an XPath expression to specify a particular element
- K2XmlFieldLabel - displays the contents of an Xml field in a label
- K2XmlTextBox - displays the contents of an Xml field and allows it to be updated
- K2XmlHyperLink - displays the contents of an Xml field as a hyperlink
Workflow Context
This field allows you to display in a label run-time data about the current process or activity instance. For example, you could display the process folio or activity name.
Using these controls you should be able to quickly put together ASPX pages that interact with process. Some of the controls even have custom UITypeEditors to help you quickly set properties.
If you would like to volunteer to help test these controls, please send me a private message.
Posted
Thu, May 14 2009 6:29 PM
by
DavidL