Maximo

Maximo

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

 View Only
Expand all | Collapse all

Display images from attachments in a BIRT report on MAS Saas manage where the doclinks are stored in COS

  • 1.  Display images from attachments in a BIRT report on MAS Saas manage where the doclinks are stored in COS

    Posted 21 hours ago
    Hello All,
     
    Has anyone successfully created a BIRT report that displays images from work order attachments in MAS  where the doclinks are stored in Cloud Object Storage (COS)?
     
    We are working within an IBM SaaS environment, and the doclinks are stored in AWS COS.
    We've developed a report that works correctly when the doclinks are stored in local storage, but the same approach doesn't work when attempting to access images stored in COS.
     
    Here is the snippet of code we're using:
     
    var docUrl = "https://mxhost/maximo/oslc/cosdoclink/i1.png";
    row["imgdata"] = Base64.getEncoder().encodeToString(XMLUtils.readXMLFileToBytes(docUrl));
     
    Has anyone run into this issue or found a workaround for retrieving and displaying images from COS in a BIRT report?
     
    Any help or guidance would be appreciated!
     
    Thanks in advance.


    ------------------------------
    Ratheesh Pullaikodi
    ------------------------------


  • 2.  RE: Display images from attachments in a BIRT report on MAS Saas manage where the doclinks are stored in COS

    Posted 2 hours ago

    hello Ratheesh

    IBM seems to release a note today on this known limitation and suggested work around using API to convert into public URL without any authentication.

    Hope this helps to your problem.

    BIRT Reports Fails to Render S3-Based Image Attachments in IBM Maximo Application Sute 9

    Regards



    ------------------------------
    Saikat
    ------------------------------