- Description
- How to use it
- 1. Create a menu function
- 2. Create a menu structure
- 3. Add the ribbon to your screen
- Use Cases
- Attributes
Description
The Ribbons are created in Build.One using the SwatRibbon object. A SwatRibbon is a graphical control element in the form of a toolbar that can be added to a Screens.
How to use it
1. Create a menu function
To create a ribbon, you need to create a corresponding menu function. How to do this is explained on the following page. Actions.
Below is an example of a menu function for a save operation.
2. Create a menu structure
To create a ribbon, you need to create a corresponding menu structure. How to do this is explained on the following page. Menu structure
Below is an example of a menu structure for a new ribbon
- Start of the menu structure for an application.
- Group to organize an application.
- Group for all ribbons to be used in this application.
- Ribbon object. This object includes all relevant blocks for the ribbon and their associated buttons.
- Ribbon block that can contain different buttons.
- Actual button in the ribbon block within the entire ribbon. Here, the menu function for the button is defined, as shown in the above example.
3. Add the ribbon to your screen
- To add the ribbon to the screen, search for "SimpleSwatRibbon" in the object catalog. Then, drag and drop it onto a specific panel or use it for the entire screen.
- Next, connect the ribbon object in the Flow Designer to the respective object using the "TableIO" link type.
- In the final step, populate the "ToolBarKey" attribute with the Menu Structure Code from the ribbon object in the Menu Structure. Refer to point 4 in the above image.
Use Cases
✍️ If there are Use Cases that can be linked to this concept, you can use the next Notion Database view to display them
Attributes
Attribute | Description | Example/Values |
ToolBarKey | Defines the menu structure of the Ribbon. You need to use a # before the toolbarkey | #MyRibbonDefinition |
LabelDisplay | Defines if labels are shown in the Ribbon | Standard/Show/Hide |
Back to Documentation
Back to Home Page