How to efficiently re-use the FAB controls across different applications? The answer is by using the Widget functionality of the tool. Widgets allows a set or group of controls and its functionalities to be bundled and reused in different applications. This promotes efficiency in the development by reducing the effort in building repetitive block of controls.
Converting controls into Widgets
Recommended Setting
Use a Vertical Layout to group the controls that can be converted or added into the list of Widgets
- Right click on the block of control that needs to be converted into a Widget. Select Options--->Widgets-→Convert to Widget
- The Create Widget dialog screen shows up
Provide a Widget name and description
Bound Fields are automatically assigned and made available
Enter some notes (e.g. Prerequisites and instructions on how to use the Widget) - Save the Widget by clicking
Adding Widgets into an Application
- Right click on a node where the Add Widget option will be available (e.g. a Page)
- Select the relevant Widget to be added
- Click on to finally add the Widget
Exporting Widgets
- Right click on a node where the Add or Convert Widget option will be available (e.g. a Page)
- Select the Widget Name to be exported and save it as a file
Importing Widgets
- Right click on a node where the Add Widget option will be available (e.g. a Page)
- Click on and select the Widget file to be imported
- Click on to finally save the imported Widget
Related articles
0 Comments