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…
June 17th, 2009 at 2:13 pm
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.
March 9th, 2010 at 5:03 pm
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
March 22nd, 2010 at 1:30 am
Ich muss gleich mal gucken, ob ich das Template wo zum runter laden finde.
April 13th, 2010 at 6:24 am
Hi Burak
Do you have the solution to order inbox assignments for Maximo v7.1 as the JSP is not the same?
Thank you
June 14th, 2010 at 7:07 am
Hi
Can you pls publish the solution to have the inbox / assignments sorted in Maximo v 7
Thanks
July 1st, 2010 at 9:31 am
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();
}