You can change the default "Icon" used in the order substeps by setting "icon" parameter on each step.
The "Icon" configuration are being set in the "substeps" attribute of the configuration object.
Specific configuration parameters
Parameter | Description |
---|---|
subStepConfirmedIcon | String with an URL which will be used as display icon in the Confirmed order substep |
subStepPickingIcon | String with an URL which will be used as display icon in the Picking order substep |
subStepPickingIconActive | String with an URL which will be used as display icon in the Picking order substep when substep is active |
subStepPickingIconInactive | String with an URL which will be used as display icon in the Picking order substep when substep is inactive |
subStepGoingToDestinationIcon | String with an URL which will be used as display icon in the Going To Destination order substep |
subStepGoingToDestinationIconActive | String with an URL which will be used as display icon in the Going To Destination when order substep is active |
subStepGoingToDestinationIconInactive | String with an URL which will be used as display icon in the Going To Destination when order substep is inactive |
subStepReadyToPickupIcon | String with an URL which will be used as display icon in the Ready For Pickup order substep |
subStepReadyToPickupIconActive | String with an URL which will be used as display icon in the Ready For Pickup when order substep is active |
subStepReadyToPickupIconInactive | String with an URL which will be used as display icon in the Ready For Pickup when order substep is inactive |
subStepDeliveredIcon | String with an URL which will be used as display icon in the Delivered order substep |
subStepDeliveredIconActive | String with an URL which will be used as display icon in the Delivered order substep when substep is active |
subStepDeliveredIconInactive | String with an URL which will be used as display icon in the Delivered order substep when substep is inactive |
subStepPickedUpIcon | String with an URL which will be used as display icon in the PickedUp order substep |
subStepPickedUpIconActive | String with an URL which will be used as display icon in the PickedUp order substep when substep is active |
subStepPickedUpIconInactive | String with an URL which will be used as display icon in the PickedUp order substep when substep is inactive |
Usage Example
Consider the following example:
https://xandar-lsw-v3.instaleap.io/?job=myJoB&token=myToken&subStepConfirmedIcon=https://instaleap.atlassian.net/rest/servicedesk/1/customer/viewport-resources/portal-logo/16/6&subStepPickingIcon=https://instaleap.atlassian.net/rest/servicedesk/1/customer/viewport-resources/portal-logo/16/6&subStepGoingToDestinationIcon=https://instaleap.atlassian.net/rest/servicedesk/1/customer/viewport-resources/portal-logo/16/6&subStepDeliveredIcon=https://instaleap.atlassian.net/rest/servicedesk/1/customer/viewport-resources/portal-logo/16/6
You will see the following content:
Example when the state of the order is Picked Up
https://xandar-lsw-v3.instaleap.io/?job=myJoB&token=myToken&subStepPickedUpIcon=https://cdn-icons-png.flaticon.com/512/2266/2266386.png
Example when the order substep is Picking and the substep is active
https://xandar-lsw-v3.instaleap.io/?job=myJoB&token=myToken&subStepPickingIconActive=https://cdn-icons-png.flaticon.com/512/2266/2266386.png
Example when the order substep is Picking and the substep is inactive
https://xandar-lsw-v3.instaleap.io/?job=myJoB&token=myToken&subStepPickingIconInactive=https://cdn-icons-png.flaticon.com/512/2266/2266386.png
Example when the order substep is Going To Destination and the substep is active
https://xandar-lsw-v3.instaleap.io/?job=myJoB&token=myToken&subStepGoingToDestinationIconActive=https://cdn-icons-png.flaticon.com/512/2266/2266386.png
Example when the order substep is Going To Destination and the substep is inactive
https://xandar-lsw-v3.instaleap.io/?job=myJoB&token=myToken&subStepGoingToDestinationIconInactive=https://cdn-icons-png.flaticon.com/512/2266/2266386.png
Example when the order substep is Ready To Pickup and the substep is active
https://xandar-lsw-v3.instaleap.io/?job=myJoB&token=myToken&subStepReadyToPickupIconActive=https://cdn-icons-png.flaticon.com/512/2266/2266386.png
Example when the order substep is Ready To Pickup and the substep is inactive
https://xandar-lsw-v3.instaleap.io/?job=myJoB&token=myToken&subStepReadyToPickupIconInactive=https://cdn-icons-png.flaticon.com/512/2266/2266386.png
Example when the order substep is PickedUp and the substep is active
https://xandar-lsw-v3.instaleap.io/?job=myJoB&token=myToken&subStepPickedUpIconActive=https://cdn-icons-png.flaticon.com/512/2266/2266386.png
Example when the order substep is PickedUp and the substep is inactive
https://xandar-lsw-v3.instaleap.io/?job=myJoB&token=myToken&subStepPickedUpIconInactive=https://cdn-icons-png.flaticon.com/512/2266/2266386.png
Example when the order substep is Delivered and the substep is active
https://xandar-lsw-v3.instaleap.io/?job=myJoB&token=myToken&subStepDeliveredIconActive=https://cdn-icons-png.flaticon.com/512/2266/2266386.png
Example when the order substep is Delivered and the substep is inactive
https://xandar-lsw-v3.instaleap.io/?job=myJoB&token=myToken&subStepDeliveredIconInactive=https://cdn-icons-png.flaticon.com/512/2266/2266386.png