Topic
  • 2 replies
  • Latest Post - ‏2014-04-05T14:52:28Z by Sammy Cabrera
Sammy Cabrera
Sammy Cabrera
9 Posts

Pinned topic Default Sort Inbox/Assignment Portlet Maximo

‏2013-08-30T16:59:51Z |

Greetings,

Anyone know how to sort inbox portlet on Maximo? 

I want to change the default sort to see always the last assignment first.

 

Thanks

Samir

  • MaximoLearner
    MaximoLearner
    52 Posts

    Re: Default Sort Inbox/Assignment Portlet Maximo

    ‏2014-01-23T00:40:49Z  

    Facing same problem. Please let me know if you have any solution to sort by default inbox portlet?

  • Sammy Cabrera
    Sammy Cabrera
    9 Posts

    Re: Default Sort Inbox/Assignment Portlet Maximo

    ‏2014-04-05T14:52:28Z  

    Facing same problem. Please let me know if you have any solution to sort by default inbox portlet?

    Hello my friend, i found a way, but it´s not the best.

    Add my code below the nex standar maximo code:

    //If portlet is not configured with columns, then just get count
    if(noOfCols > 0)
    {

    My Code>>

    if(portletControl.getProperty("sortattribute").length() < 1 && portletControl.getProperty("sorttype").length() < 1)
    portletControl.setProperty("sorttype","desc");
    portletControl.setProperty("sortattribute","WFASSIGNMENTID")
     

    File: inboxportlet

    path: maximo>applications>maximo>maximouiweb>webmodule>webclient>components 

    I hope to help you.

    I am sure that there is a best form to do it.

    Samir