We have been creating new content all through this course, and have seen how shared styles can be used to manipulate the look and feel of items added to a screen. Templates allow us to take this reusability further by allowing us to create completely new layouts, such as buttons or containers, and reuse.
Create the Item to Template
To create a template we first have to create the item
Open the Screens List Screen.
From the Palette → Buttons - Secondary section, add a Custom - Icon button to the left of the edit button.
We need to configure the button to open the Invoicing screen. We could manually create the actionflow, but a shortcut is to drag the screen from the repository onto the button.
Click the Screen button from the toolbar.
Drag Invoicing onto the Orders button.
If you simply drag a screen from the repository onto the open screen, a button will be created along with an actionflow to open the screen.
Change the Orders button icon to the IconFinance image.
Lock your screen and check the new button opens the Invoicing screen.