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
------------------------------