Update Design Templates

This content applies to legacy design tools (such as K2 Studio, K2 for Visual Studio, or the Silverlight-based K2 workflow design tool). If you have upgraded from K2 blackpearl 4.7 to K2 Five, these tools may still be available in your environment. These legacy tools may not be available in new installations of K2 Five. These legacy tools may also not be available, supported, or behave as described, in future updates or versions of K2. Please see the legacy component support policy for more information about support for these components.

The Design Templates Upgrade wizard allows you to update code items for the current process with the code items in the K2 Design Templates folder.

When template files are updated, for instance, in a new release, the new base code in the template is not automatically updated for existing processes. If you have modified the schedules and code behind an existing activity in a project, the right-click menu is available so that the events can be selectively reloaded with the new code from the design template.

Customizations, including code and XOML, are overwritten by the new base code when the design template is updated. However, rerunning the wizard will not update the XOML model because it is not generated from within the wizard.

Be aware that any custom code written is replaced, so always make a backup of your project before attempting to run this wizard.

  1. Right-click on the design canvas and select Update Design Templates.
  2. Select the items to be updated by checking the check box.
  3. Click Finish
  4. Save and redeploy the project.