Collector Step Image
- Johannes Sebastian Nielsen
- Maria Jose Avila
Collects
The step does not collect anything, it shows an image.
Notes
- ´Displays images encoded with Base64 embedded in HTML in a HelpLabel.
- In a HelpLabel, it should be sent like this: '<html></body><img src="data:image/png;base64,iVBORw0K..."></body></html>'
Example
This example is for BC/AL.
// [Example]
//
// Add ImageStep as a HeaderStep for Pick
//
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Pick", 'OnPostPickOrder_OnAddStepsToWarehouseActivityHeader', '', true, true)]
local procedure MyOnPostPickOrder_OnAddStepsToWarehouseActivityHeader(var _OrderValues: Record "MOB Common Element"; _WhseActivityHeader: Record "Warehouse Activity Header"; var _StepsElement: Record "MOB Steps Element")
begin
_StepsElement.Create_ImageStep(50, 'ImageStep');
_StepsElement.Set_helpLabel('<html></body><img src="data:image/png;base64,iVBORw0K..."></body></html>');
end;
See Step Configuration Matrix for details.
Image Step