K2

Validation input with K2 SmartForms – Part 4 : Simple Server Side Validation

In this article, Part 4 of our series on validation with K2 SmartForms, we will be looking at server side validation. There are a few options available and the method below is by no means the only way to achieve server side validation, but it should suffice for the most common server side validation requirements.

Let first recall our sample application and just revisit what we are trying to accomplish. The client side interface of our demo application looks as follows:

1 K2 SmartForms Server Validation - SmartForm

1 K2 SmartForms Server Validation – SmartForm

Read More
K2

K2 Workflow Event Wizards: Default Client Event

Last week we gave you a brief introduction to the world of K2 Workflows by showing you how to create a new K2 Workflow project in Visual Studio 2013.

Now that we have an empty K2 Workflow project to work with, we can start to create the workflow.

A K2 Workflow consists of components dragged and dropped from the Toolbox onto the Designer and then connected with lines that indicate the flow. In this blog we’ll discuss one of these components: the Default Client Event.

Read More
K2 blackpearl

How to release and reassign a user’s K2 worklist tasks in code using C#

Occasionally, you need to reassign K2 blackpearl tasks that is currently directed to one user to another.

This scenario may occur for several reasons. The user might have been moved to a new user account, the user might have left the company, etc.

If you have access to the K2 workspace you can do it quite easily by using the buttons indicated in the below screenshot.  We will show how to accomplish this task programmatically.

Image 1 - Release and reassign a task using K2 Workspace

Image 1 – Release and reassign a task using K2 Workspace

Read More
K2 blackpearl

How to avoid K2 blackpearl generated emails leaving the server in a development environment

K2 makes it extremely easy to generate an automated e-mail which is then distributed to a specified person or user group participating in your K2 Workflow.

If you are unsure about how to accomplish this you can find more information at here.

During development and testing of your workflows, you however would not like to send out these emails to actual email address, but rather have them dropped into a local pickup folder.

Read More
K2 blackpearl

Introduction to K2 blackpearl workflow

K2 SmartForms is a quick and easy way to create powerful interfaces that can provide great functionality to users in a short amount of time. However, even with the rules and expressions built directly into the K2 SmartForms, they are considered fairly static. It is through the use of the K2 Workflow that introduce behaviour for these forms. Through the K2 Workflow we can define the flow of a system, create activities to be completed, and specify an organisational structure of events that influences and manages the order in which things happen throughout a system.

In this new series on the K2 Workflow, I will start off by simply showing you how to create a new K2 Workflow project in Visual Studio 2013 and take you through some of the basic UI elements.

Read More
K2 SmartForms

How to display a hyperlink column in a K2 SmartForms ListView

Displaying a hyperlink column in a K2 SmartForms ListView

K2 has a hyperlink data type that can be used in both K2 SmartObjects as well as K2 SmartForm Views. This can be useful when you want to display a dynamic hyperlink.

For this example we will have a column in a K2 SmartForms ListView that displays a hyperlink to navigate to the K2 blackpearl’s ViewFlow of the specific activity’s K2 Workflow.

k2 smartforms hyperlink

1 – K2 SmartForms ListView Hyperlinks – SmartObject Designer

Read More
K2

How to transfer data and execute methods on separate K2 SmartForms

When sending data from a K2 SmartForm view on one form to a ViewMethod on another form, you can either send the data across in a query string and execute the ViewMethod once the new form initializes, or you can do it all with one rule while at the same time removing the need for a query string.

First we have an event that kicks off the process. When this button is clicked it takes data from the current view and uses it as input parameters for a ViewMethod of a different View on a different Form.

k2 smartforms transfer data

1 – K2 SmartForms – Data transfer between forms – Event configuration

Read More
K2

How to group Radio Buttons in K2 SmartForms

Building K2 SmartForms is usually very easy and straight forward. One of the simplest controls to use is the radio button. While the radio button works in the exact same way as the standard HTML radio button, grouping radio buttons together works slightly different. In this blog I will show you how to use multiple radio buttons, and then show you how to group radio buttons together.

First, I need to add radio buttons to a K2 SmartForm. This step is as simple as selecting the radio button control from the tool box and dragging it onto the K2 SmartForm.

k2 smartforms radio button group

Figure 1 – The Radio button control

Read More
K2

Validation input with K2 SmartForms – Part 3: Complex Client Side Validation

This is the 3rd part of a short series of articles on validation with K2 SmartForms. In the previous article, Part 2, we looked at simple client side validation using the built in validation functionality provided by K2 SmartForms. This article will build on the base we established there and take it a little further to address more complex requirements. To recap, lets have a quick look at our example form again.

validation input with k2 smartforms

Image 1 – Complex Client Side Validation – Example form

Read More
Page 10 of 15« First...89101112...Last »
PODCAST  |  Why you need to establish a K2 Center of Excellence today

Interview with Arno van Rooyen, CEO, Velocity