Add the Parts Cart and Ordered Parts Buttons
To make the plugin available to mobile workers, you must associate it with the required pages. As only mobile workers can order for parts, you must add the Parts Cart and Ordered Parts buttons to the plugin on the Activity List/My Route, Parts details, and Activity Details pages.
To add the buttons, follow the instructions in the Add a plugin to a page topic and the details given in this table:
Page | Button Name | Screen Type | Plug-In | Parameter |
---|---|---|---|---|
Activity List/My Route | Part Cart | Plugins | Parts Ordering | Parameter: defaultScreen Value: new-order-screen |
Ordered Parts | Plugins | Parts Ordering | Parameter: defaultScreen Value: order-list-screen | |
Parts details | Order Part | Plugins | Parts Ordering | Parameter: defaultScreen Value: new-order-screen |
Activity Details | Ordered Parts | Plugins | Parts Ordering | Parameter: defaultScreen Value: order-list-screen |