Introduction

Issue:

When installing K2 4.5 with Update KB001230 (4.10060.1.1230), the View Flow report requires Silverlight 4 to be installed to enable the new functionality. When opening View Flow, the user will be prompted to either upgrade to this version or continue using the non-Silverlight based (or Classic) View Flow. This KB article is a workaround for those organizations where end users do not have the ability to install software on their machines.

Solution:

In order to remove the option for end users to install Silverlight, an ASPX file should be replaced on the SharePoint and K2 Workspace servers. This file is attached to this KB article. When using this file, the “Get Silverlight / Continue without Silverlight” options will not be reflected, and the user will always be redirected to the Classic ActiveX-based View Flow for K2 Studio and K2 Designer for Visual Studio designed processes. As Silverlight 4 is an absolute requirement for K2 Designer for SharePoint, this replacement file will have no effect on the View Flow linked to K2 Designer for SharePoint processes. The user either must install Silverlight or not view or design K2 Designer for SharePoint processes.

To remove the option to install Silverlight for users, download the replacement ASPX file included in this KB article (See right-hand menu) and replace the file in the following locations.  Make a backup of the original GetSilverlight.aspx file before replacing.

K2 Workspace

C:\Program Files\K2 blackpearl\WorkSpace\Site\TaskListControl

SharePoint 2007

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\K2\TaskList

SharePoint 2010

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\K2\TaskList

Note: It is important to replace the files immediately after the installation of K2 4.5 with Update KB001230 (4.10060.1.1230), and before users access a View Flow report for the first time. Otherwise, the option to download Silverlight will be displayed for those users.