Home      Members   Calendar   Who's On

Welcome Guest ( Login | Register )
      

Home » BPM.NET 2009 » BPM.NET 2009 » Application Development » Workflow Inbox - Manager View


Workflow Inbox - Manager ViewExpand / Collapse
Author
Message
Posted Wednesday, February 08, 2012
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: Monday, February 13, 2012
Posts: 4, Visits: 13
I am assuming the Manager View under the Inbox item is for those individuals who are someone's manager in Active Directory to be able to see all of their subordinate’s items.

In our case this is causing a problem with load times. For instance when some of those people that have this option try and login it takes an extremely long time to load all the objects, to the point that the software even times-out.

The Manager View is not needed for our work environment and this particular workflow so is there anyway to disable this view so that the workflow inbox does not use system resources to search our entire AD to build this Manager View? A toggle of some sort?

Post #2423
Posted Wednesday, February 08, 2012
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Wednesday, February 08, 2012
Posts: 17, Visits: 42
Hi,

By the default repository configuration, only the users who belong to the Administrator security group will be able to see "manager View" menu item. Go through the below URL for more information on the same i.e. to disable the menu item for the Administrator users.

http://sun.skelta.com/UserGuide/index.html?ForwardingWorkItemsToOtherUsers

Thanks,

csn

Post #2424
Posted Thursday, February 09, 2012
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: Monday, February 13, 2012
Posts: 4, Visits: 13
Thanks for the reply!

Unfortunately that does not seem to fix the issue I am experiencing. 

In the image below you can see the Manager View link under the WorkItems List in the Inbox.

We use Active Directory for all of our logins and at the top level have a couple users (the most important ones) that are managers of over 3000+ employees.  This seems to result in very long load times of the inbox because it is trying to find and check all the individuals that are managed by this high level user to generate the manager view (show in image below).

I also found an article that references how you can turn the Manager View off in the Skelta BPM.Net Developer Guide V1.3.5.  If you search for "DisplayManagerView" it will bring up an article about turning several flags on/off in the WorkItemList.aspx.cs page.  I found that file but no matter what we add to it or take away there seems to be no change.

Ultimately when you log into your inbox we do not want it to try and build this manager view and not allow the user to see it.

Is that possible?

Post #2426
Posted Monday, February 13, 2012
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: Monday, February 13, 2012
Posts: 4, Visits: 13
Just in case others find this helpful, we did find a solution.

There are files located in the following folder:  xtendersolutions\content management\applicationxtender workflow manager\web\bpmuitemplates\default\repository\site

The two files you need to adjust to disable the Manager View are the "WorkItemList.aspx" and "WorkItemList.aspx.cs" files. 

Seems the frontend page needs the CodeFile="WorkItemList.aspx.cs" attribute set in the page header so that it actually fires the events in the codebehind page.

The codebehind page needs an additional flag set "WIL.DisplayManagerView = false;".

Below is sample code.

WorkItemList.aspx

<%@ Page Language="C#" MasterPageFile="~/BPMUITemplates/Default/Repository/Site/MasterPage.master" AutoEventWireup="true" CodeFile="WorkItemList.aspx.cs" Inherits="Skelta.WorkItemList" Title="Untitled Page" %>

<%--<%@ Register Assembly="Skelta.HWS.WorkListChannel.Web.WorkItemListControl, Version=3.0.0.0, Culture=neutral, PublicKeyToken=6c165f384ce7017f"

Namespace="Skelta.HWS.WorkListChannel.Web.WorkItemListControl" TagPrefix="cc1" %>--%>

<asp:Content ID="Content1" ContentPlaceHolderID="Cont" Runat="Server">

<%--<cc1:WorkItemControl ID="WIL" ApplicationName="Repo1" UserIdString="1" runat="server"></cc1:WorkItemControl>--%>

<table id="table1" border="0" width="100%" style="height:100%" >

<tr>

<td height="100%" width="100%" vAlign="top" >

<aspanel ID="PanelWIL" runat="server" Height="100%"></aspanel>

</td>

</tr>

</table>

<script>

check();

function check()

{

var chk=GetBrowserversion();

if(chk==3 || chk==2)

{

document.getElementById("table1").style.height=document.body.clientHeight-58;

}

else

{

document.getElementById("table1").style.height=document.body.clientHeight-61;

}

}

GetBrowserversion()

function GetBrowserversion()

{

var app=navigator.userAgent;

if(app.indexOf("MSIE 7")>-1)

{

return 3;

}

else if(app.indexOf("Firefox/1.5")>-1)

{

return 2;

}

else

{

return 1;

}

}

</script>

</asp:Content>

WorkItemList.aspx.cs

using System;

using System.Data;

using System.Configuration;

using System.Collections;

using System.Web;

using System.Web.Security;

using System.Web.UI;

using System.Web.UI.WebControls;

using System.Web.UI.WebControls.WebParts;

using System.Web.UI.HtmlControls;

namespace Skelta

{

public partial class WorkItemList : System.Web.UI.Page

{

protected string _Repository;

protected Skelta.HWS.WorkListChannel.Web.WorkItemListControl.WorkItemControl WIL;

protected void Page_Load(object sender, EventArgs e)

{

}

protected override void OnInit(EventArgs e)

{

Skelta.Entity.UserContext uContext = new Skelta.Entity.UserContext();

WIL = new Skelta.HWS.WorkListChannel.Web.WorkItemListControl.WorkItemControl();

WIL.ApplicationName = uContext.Repository.ApplicationName;

WIL.UserIdString = uContext.LoggedInUserId;

WIL.ID = "WorkItemListControl";

WIL.DisplayManagerView = false;

WIL.ReadingPaneInPopupWindow = true;

PanelWIL.Controls.Add(WIL);

}

}

}

Post #2431
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
-
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.

All times are GMT -5:00, Time now is 5:48am

 
Execution: 0.109.10 queries.Compression Enabled.

Copyright © 2002 - 2009 Skelta Software. All rights reserved. Tel: 1 (678) 306 4110 | Email:sales@skelta.com
Skelta - A BPM Workflow Software Company