landon.isaacs985 Posted August 24, 2015 Posted August 24, 2015 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)?
marianol Posted August 25, 2015 Posted August 25, 2015 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.GridFSDBFileSee: http://api.mongodb.org/java/current/com/mongodb/gridfs/GridFSDBFile.html
landon.isaacs985 Posted August 25, 2015 Author Posted August 25, 2015 Would I apply this class to the chunk binary string or the filename from the files collection?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now