1 Context
In this step, we add a feature to our order screen that allows adding notes to an order. The use case behind it is that our product owner had the idea that an employee can quickly add notes while managing the order on a tablet.
2 Result
3 Step by step guide
- Create a new tab for your “SimpleSwatFreehand” control and call it “Notes and Scratchpad”
- Search in the section “Library of Objects” for the object “SimpleSwatFreeHand” and drag and drop it on the tab site “Notes and Scratchpad” on panel “A” and select “Save”
- Search in the section “Library of Objects” for the object “SimpleSwatToolbar” and drag and drop it on the “SimpleSwatFreeHand” object
- Click on the object “SimpleSwatToolbar” and search in the section “Attributes” for the attribute “Toolbarkey” and fill in “FreeHandMenu”
- Navigate to the “Flow view” and make a connection from “OrderDSO” with “Display” type to the “SimpleSwatFreeHand”
- Make a connection from “SimpleSwatToolbar” with “TableIO” type to the “SimpleSwatFreeHand” and select “Save”
4 Explanation:
By connecting the OrderDSO with the FreeHand Object, notes can be saved for a record. This control was created from a customer requirement that was implemented by Build.One. This demonstrates that new objects can be quickly created and used with Pro-Code tools.