Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  Hiding List Columns Conditionally based on User Default Site

    Posted 08/13/21 03:14 PM
    Hi Everyone,

    So I am looking for a way to conditionally hide a column in the Work order tracking application depending on the default site of the user.

    What I have managed to do figure out already is that I can create a Signature option in Application designer for WOTrack, associate it with the column I am trying to hide, and adjust site specific security groups to show / hide that column.


    However I am wondering if it is possible to use a Conditional Expression so that I can just adjust the security group given to all users instead of all the sites where I want it to be shown.
    I wrote the following expression "exists (select 1 from maxuser where userid = :&USERNAME& and defsite in ('GI', 'COM', 'CAM'))" for the conditional statement and put it in for the EVERYONE security group, but the column would always show up now instead.

    Thanks for reading :)

    ------------------------------
    Jonathan Ma
    ------------------------------

    #AssetandFacilitiesManagement
    #Maximo


  • 2.  RE: Hiding List Columns Conditionally based on User Default Site

    Posted 08/15/21 09:33 PM
    Conditional UI won't evaluate on the list tab. Maximo conditions are designed to evaluate against a MBO record. While your specific syntax would be able to evaluate without being on a record, that is not an assumption the framework can make. I'm sure there have been newer technotes since but here's one that mentions the limitation (this is in reference to the toolbar, but same thing applies for columns): https://www.ibm.com/support/pages/node/238205

    Signature options work because they don't have a dependency on a record. If you had tied a condition to the signature option in the security groups application, similar to conditional UI, the condition would not work on the list tab.

    ------------------------------
    Steven Shull
    ------------------------------



  • 3.  RE: Hiding List Columns Conditionally based on User Default Site

    Posted 08/17/21 03:40 PM
    Thanks Steven, I did suspect that to be the case but wanted a second opinion

    ------------------------------
    Jonathan Ma
    ------------------------------