Set Inbox Order

Hello;
Our clients always have problems with their inboxes. One of the major problem is that the inbox is not sorted. To sort inbox in Maximo we have to modify a jsp file. Here is how it is done.. This is done for Maximo 6.2.2
First we open %MAXIMOROOT%\applications\maximo\maximouiweb\webmodule\webclient\controls\startcenter\portlets\inbxconfig.jsp file. Take a backup of this file…

Then we should find

1
2
3
4
else
		{
			portletBean	= (InboxPortletBean)sessionContext.getCurrentApp().get(portletId);
		}

After these lines add these…

1
2
3
4
5
6
7
8
9
10
11
12
13
14
boolean allowsort = true;
		if (portletBean.isPropertyDefined("allowsort") && portletBean.getPortletInfoValue("allowsort") != null )
		{
		 if ( ((String)portletBean.getPortletInfoValue("allowsort")).equals("true"))
		 {
		  allowsort = false;
		 } 
		}
 
		if (allowsort)
		{
		 portletBean.setPortletInfoValue("sortattribute","startdate");
		 portletBean.setPortletInfoValue("sorttype","desc");
		}

On line 12,13 we ordered inbox to startdate descending… Then save the file… Rebuild and redeploy..

Have a good day…

PS: Test before taking it to the live system…

6 Responses

  1. Manoj Says:

    Hi Burak,

    I was looking for ages this solution as endusers’ inbox gets filled with overdue assignments and they find it irritating to browse to the last assignment.

    Thanks again,

    Manoj.

  2. kurtyboy Says:

    Hey Burak
    That was a really useful update
    I have been lucky enough to upgrade to v7 … do you know how this same setting is applied?
    Thank you

  3. Arleen Liljeberg Says:

    Ich muss gleich mal gucken, ob ich das Template wo zum runter laden finde.

  4. kurty boy Says:

    Hi Burak
    Do you have the solution to order inbox assignments for Maximo v7.1 as the JSP is not the same?
    Thank you

  5. sachin Says:

    Hi

    Can you pls publish the solution to have the inbox / assignments sorted in Maximo v 7

    Thanks

  6. Sonia Lin Says:

    For Maximo V7, you can define sort order by overwriting WFAssignmentSet.getInboxAssignments. For example:

    public void getInboxAssignments()throws RemoteException, MXException
    {

    String orderBy = this.getOrderBy();
    if(orderBy == null || orderBy.equals(“”)){
    setOrderBy(” DUEDATE desc”);
    }

    super.getInboxAssignments();
    }

Leave a Reply