Add the Parts Cart and Ordered Parts Buttons
To make the plug-in 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 plug-in on the Activity List/My Route, Parts details, and Edit/View activity pages.
To add the buttons, follow the instructions in the How do I add a plug-in 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 |
Edit/View activity | Ordered Parts | Plugins | Parts Ordering | Parameter: defaultScreen Value: order-list-screen |