Maximo Open Forum

 View Only

Customizing Attachment Visibility in Maximo

  • 1.  Customizing Attachment Visibility in Maximo

    Posted 8 days ago
    Edited by Matt F 8 days ago

    Hi All,

    Working in 7.6.1.3, I'm attempting to perform a very similar task as noted in the example here: Customizing Attachment Visibility in Maximo

    However, I'm working within the Work tab > Work Order table of the Assets application. I've reached the end result of getting the Attachment dialog working for the records in the table, but struggling to Conditionally hide the attachment icon when no attachments exist, as done in this example above. I know based on previous posts and comments from @Steven Shull, this may be a limitation (similar to working within the List tab and evaluating a condition on multi records), but just double checking here.

    I'm seeing either of the following 2 outputs based on Conditionally testing:

    1) Attachment icon shows for ONLY the first record (when using exists/count condition to check for matching records in DOCLINKS)
    2) Attachment icon shows for all records (when testing binding variables to MULTIASSETLOCCI)

    This table is against the MULTIASSETLOCCI object, so I have my Condition evaluate starting there and joining to WORKORDER then DOCLINKS to find the matching records. The binding variables are working during my tests.

    exists (
      select 1
      from doclinks
      where ownertable = 'WORKORDER'
        and ownerid = :workorder.workorderid
    )



    Workaround is to default the icon for all rows and then show a non-persistent attribute beside it with an Attachment count (script/formula) to aid in not clicking the icon unnecessarily if no attachment is present on the record.

    Thanks all!

    Cheers,
    Matt 





    #Customizations
    #EverythingMaximo

    ------------------------------
    Matt F
    ------------------------------