BRGGroup is an FME custom transformer that collects multiple BRGComponent features and organises them into a single section of an HTML report generated by BetterReportGenerator (BRG). It allows you to:
Define a title for the section.
Control whether the section is rendered inside a card container and how that card behaves (static or collapsible).
Sort incoming components to control their display order.
Split incoming components into multiple subsections based on an attribute value.
The transformer outputs one new BRGComponent feature for every unique group that is created. Each output component already contains the required HTML & CSS to be consumed directly by either another BRGGroup or the final BetterReportGenerator transformer.
Typical Use Cases
Building a multi‑section report where each section wraps one or more visual elements (e.g. maps, charts, tables).
Collapsing large sections so that a reader can expand them on demand.
Automatically producing one card per category (e.g. one summary card per city) without having to pre‑filter data in separate streams.
Parameters
Parameter
Purpose
Notes
Title
Static text shown as the heading of the section/card.
Accepts FME macros and attribute references (e.g. @Value(Category)).
Card Type
Determines whether the section is wrapped in a Bootstrap‑style card and its default state.
No Card – raw HTML section only; Static Card – always expanded; Collapsable Card – collapsible, expanded by default; Collapsed Card – collapsible, collapsed by default.
Order
Integer determining where this component appears relative to other BRG components. Lower numbers appear first.
Group By
Name of the attribute whose value defines the group key.
Leave blank to combine all incoming components into a single section.
Would you like to know more? Click here to find out more details!