In Maximo, we can upload images as attachments in Doclinks
which are stored as files the server or as avatar images which are stored as
binary data inside the IMAGELIB table. Avatar image is quite useful to give the
user a quick view of how an inventory item or an asset/location looks like.
While Maximo allows us to upload Doclinks attachments via
MIF, uploading images to IMAGELIB table via MIF is not supported
out-of-the-box. Therefore, in order to upload image, we can only do it manually
one-by-one via Maximo’s GUI. For bulk loading, if we have access the DB server,
we can write a stored procedure to read the files and import binary data
directly into the DB. There are two scenarios I had in the past in which this
approach doesn’t work:
- When we built mobile apps and wanted to upload data to IMAGELIB. In that case, my team mate extended a REST handler class to achieve this requirement.
- When we needed to bulk upload images, but the client did not allow us access to the database and database server.