Boardlet Editor
Introduction
The Boardlet Editor is used to create and edit boardlets. It is integrated with the Action Editor and the Data Source Library, allowing actions and data sources to be connected directly to boardlet components.
The initial structure of a boardlet depends on the boardlet type and template selected during creation in the Boardlet Library. Templates may include predefined sections and components.
The editor is divided into three areas:
- Menu panel: Navigation for structure, issues, events, data sources, and the component library
- Viewer: Boardlet representation for editing, simulation, and code inspection
- Properties panel: Property configuration for the selected component
The editor supports the following capabilities:
- Editing boardlets and their components.
- Connecting data sources and actions to components.
- Testing boardlet behavior in a simulated runtime.
Menu panel
The menu panel provides navigation across the Structure, Issues, Events, Data Sources, and Library tabs. These tabs retain their selection, even when not actively selected. They are described in further detail below.
Structure
The Structure section displays the boardlet hierarchy as a tree. This view represents the wrapper, content area, and optional header elements that make up the boardlet.
The root wrapper is typically the BoardletComponent. It defines boardlet-level settings such as title, type, and whether a header and/or footer is shown.
The content area is represented by BoardletBody. In the standard boardlet template this area is empty. When templates are used, the body may already contain sections or components.
If enabled, the BoardletHeader is shown above the body. It displays the boardlet title, optional icons, and an overflow menu on the right.
The optional BoardletFooter is exclusively reserved for Footerbar Actions. It can be disabled, if the desired boardlet has no footerbar actions.
Issues
The Issues section extends content health by listing outdated components and properties. Entries are grouped by severity.
- An Error indicates that an update is required immediately.
- A Warning indicates that an update should be performed soon because bugs or unexpected behavior may occur.
- An Info entry indicates that a component or property is outdated or deprecated, but the boardlet can still function. Updating remains optional in this case.
A Details action opens a modal with additional information about the selected entry. Selecting an entry also navigates to the affected component and opens the relevant property in the Properties Panel.
Events
The Events section lists events configured within the boardlet. Selecting an entry navigates to the related component. The Edit action opens the event configuration in the Action Editor.
Data sources
The Data sources section lists all data sources referenced in the boardlet. Selecting a data source navigates to the component that consumes it. The Edit icon opens the Data Source Library with the referenced data source selected.
Events that use data sources are also shown to support quick navigation to the related component and property.
Library
The Library section provides access to all components available in App Composer. Components are grouped into categories such as containers, actions, content, controls, data, and charts. A search field is provided for filtering by name.
Components can be inserted via drag and drop. During placement, valid drop targets are highlighted in the Viewer.
Viewer
The viewer renders a visual representation of the boardlet. It provides three tabs: Edit, Preview, and Code.
Edit
The Edit tab is used for layout work and component selection. Components can be selected by clicking in the viewer. When a container component is selected, an additional action (for example Click to add element) may be shown to open the insertion menu.
Interactions are not executed in this mode. The view is intended for selecting components and arranging structure. The active selection is reflected in the Properties panel.
Preview
The Preview tab is used for runtime-like simulation. The side panels are hidden to increase the available space and interaction is enabled, including triggering events and clicking controls.
This mode is considered a full simulation. Depending on the configured actions and data sources, backend data may be updated.
Code
The Code tab displays the boardlet definition as code. The side panels are hidden to increase the available space and the complete boardlet code base is shown. Copying and editing are supported.
Properties panel
The properties panel displays configuration options for the currently selected component. The set of available properties depends on the selected component type.
A search field is provided to locate properties by name. Properties are grouped into categories (for example General). More details on property groups are described in the properties documentation.
At the bottom of the panel, Cancel reverts unsaved changes and Save applies changes and confirms the update via a global notification. When navigation away from the editor is triggered with unsaved changes, a confirmation modal is shown.
Data source property
Some components expose a Data source property to connect the component to a data source. After selection, the connected data source is displayed and quick navigation to the referenced data source is available via the Data Source Library.
A Create element datasource action may be available. This opens the Data Source Editor, where request parameters can be configured.
Events and actions
Event properties define which actions run when specific events occur, such as clicking a button. Adding an event listener opens the Action Editor, where the event configuration is created or updated.
Configured events are listed in the properties panel. The Edit action opens the configured action in the Action Editor. The Delete action opens a confirmation dialog and removes the action from the component.
Some components may additionally provide component-specific action configuration properties.