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…

One Response

  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.

Leave a Reply