Jaspersoft Community 'Read-Only' as of July 8, 2022
Transition to New TIBCO Community Just Weeks Away
You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.
I have profile pictures for users stored in GridFS within our MongoDB. I would like to display these images within my Jaspersoft Studio reports from MongoDB GridFS. I have tried a lot of various class types on both the binary field from the Mongo document and on my image in the report and continually get various errors.
How do I display gridFS images on a jaspersoft report through studio (I'm using 6.1 currently)?
2 Answers:
I have not tried it but looking at the mongo Driver (which is the one used by JSS) the file class should be com.mongodb.gridfs.GridFSDBFile
See: http://api.mongodb.org/java/current/com/mongodb/gridfs/GridFSDBFile.html