Product image support
You can display product images on any screen that has the Owner, Item, and UOM available. Images are stored separately for each unit of measure and can be stored either in the WMS database, Infor Document Management (IDM), or for on-premise WMS installations, they can be stored on your own server and provided through a URL from an HTTP service.
If storing images in the WMS database or in IDM, you can upload them from the Web RF system menu. Limit the size of the images to maintain good RF responsiveness.
You can take images with the camera on the RF device, save them to the local storage and upload them from there. Alternatively, you can upload images using a browser on a desktop computer.
If you are hosting the images on your own server, the URL that is used to retrieve the images is configured in the UI service: service.ear/sce.war/mobile-web-client/config/mobile-web-client.json. The URL is in the item_img_proc2 parameter.
For example, item_img_proc2: http://server.infor.com/image
- ProxyPass /image http://localhost:9080/sandbox/rest/images/getImage
- ProxyPassReverse /image http://localhost:9080/sandbox/rest/images/getImage
The RF client will add parameters to the end of the URL to provide the Owner, SKU, and UOM information: ?owner=ACME&sku=WIDGET&uom=EA
For example, http://localhost:9080/sandbox/rest/images/getImage?owner=ACME&sku=WIDGET&uom=EA
The expected response is this base-64 data string of the image::
data: <mime-type>;base64,<base64 string>
In this example
<mime-type> is what type of image it is. Image types include image/png, image/jpg,
image/gif, image/bmp and so on.