Hello everyone,
I'm working on a mobile (Everyplace) application based on the plusgwo -Work Order (OIL) module.
I've created a spare parts tab based on a view that I setup that will grab all our spare parts for the assets that will be worked on.
select distinct sparepart.itemnum,item.description, sparepart.quantity , workorder.wonum,workorder.siteid, workorder.rowstamp, item.itemsetid,item.itemid
from workorder
join multiassetlocci on workorder.wonum = multiassetlocci.recordkey and recordclass ='WORKORDER'
left join sparepart on multiassetlocci.assetnum = sparepart.assetnum and sparepart.siteid = workorder.siteid
left join item on sparepart.itemnum = item.itemnum and sparepart.itemsetid = item.itemsetid
where sparepart.itemnum is not null and workorder.taskid is null and workorder.status='INPRG'
and multiassetlocci.assetnum is not null
My objective is to make it easier for people using a device to view the image of the item and view the item availability rather then trying to use the chevron menu beside itemnum (plus I want to make this all read only so when I do that the menu item will not exist as well)
I've added a table to this tab and added the following columns while trying to get this to work.
itemnum, itemid (I believe optional added for troubleshooting and will remove later just thought it might be required for the dialog ), description, qty, view image, Item availability
I was able to setup the Item availability dialog and it works fine using the following information on the table Column Properties Control
Label: Item Availability
Type: Event
Event: itemavail
Event Icon: menu_icon_checkavail.gif
When trying to setup the View Image Table column properties I have the following
Label: Item Availability
Type: Event
Event: viewimage
Event: Description: View Image
When I click the view image link in the app the appropriate dialog is shown however the placeholder image is displayed and not the image of the item as I'm expecting

https://<server>/maximo/webclient/skins/skins-20220315-1321/mobile/iot18/images/img_placeholderEnlarged.jpg
FYI: using the menu from the chevron to access the view image works fine.
Does anyone have any suggestions on why I might be running into this/has anyone tried and got this working before or should I open a case file for a potential bug in the way this is handled ? Document on table column control that I'm using as well below. Nothing shows up in the logs for what I can tell either.
Table column control
Thanks for taking a look/feedback.
------------------------------
Ryan Medernach
Application Support
MEG Energy
Calgary AB
-
------------------------------
#AssetandFacilitiesManagement#Maximo