Skip to main content
We have a complex workflow whose flow diagram is roughly 3 screens high when viewed in K2 Studio.
We are finding that the bottom of the flow diagram is being clipped (ie the bottom 5cm is missing) when displayed via the K2 Workspace.
We first spotted the problem when we were using K2 SP1a, and were able to fix it by changing the height argument on the ViewFlow object in ViewFlow.aspx.
But we have now upgraded to K2 SP2a, and have found that our previous fix to ViewFlow.aspx no longer works.
Can you suggest a way to get the entire workflow to be displayed in the K2 Workspace?
Regards
Simon Ainsworth
Hi,

You don't say whether you have set the height to a fixed number or a percentage...

Thus I don't know if this will help... but if you did not try a percentage yet, try setting the height and width to 100% and not a fixed number.

T
Hi,

The K2.net 2003 Studio canvas can be enlarged by clicking on "Tools>Options" within K2.net 2003 Studio. The View Flow, as found in the Reports section of the K2.net 2003 Workspace, does not automatically resize. This means that the whole of a workflow, developed on a larger canvas, may not visible in the View Flow.

In order to enlarge the viewable area of the View Flow, a small piece of HTML code needs to be modified. This code can be found in the "ViewFlow.aspx" page located in the "%Root%Program FilesK2.net 2003K2V3WorkspaceK2MIS" folder and is as follows:

<BODY language="javascript" onload="return window_onload()" bottommargin="0" topmargin="0" leftmargin="0" rightmargin="0" scroll=no>
<FORM runat="server" ID="Form2" target="_top">
<OBJECT id="ViewFlow" height="100%" width="100%">

Change the "scroll=no" to "scroll=yes" and modify the View Flow height and width values. For example:

<OBJECT id="ViewFlow" height="7200" width="2200">

In this example, "7200" is the height set for the canvas size in K2.net 2003 Studio and "2200" is the width. By setting these values in the HTML Tag, these sizes will also be applied to the View Flow. After applying the changes, save the "ViewFlow.aspx" page and refresh the K2.net 2003 Workspace. The View Flow should now be the same size as the canvas size in K2.net 2003 Studio.

With regards

Edwin

Reply