Dashboards and web parts

Dashboards put web parts (charts, grids, cards, headings and HTML) in the zones of a layout, over data sources that run on the server with the reader's permissions. Connect parts to data source parameters, and one click filters the rest.

Connections without code

A part declares what it provides, such as a chart's selected category. On the dashboard, connect that to a data source's parameter. When the reader clicks a slice, the parameter is set, the data source runs again, and every part reading it redraws. Neither part knows about the other.

Europe selected in the donut: the status chart and the orders follow it.
Connected parts
Europe selected in the donut: the status chart and the orders follow it.

Europe selected in the donut: the status chart and the orders follow it.

Designed with live data

The dashboard designer runs the real parts on real data as you build: choose a data source and its columns, connect a chart to a parameter, and see the result at once. Preview shows a data source's rows before you save.

The dashboard designer, with the parts running on live data while you design.
The dashboard designer
The dashboard designer, with the parts running on live data while you design.

The dashboard designer, with the parts running on live data while you design.

Four kinds of data source

Aggregate

Grouped totals over a perspective: one row per group.

Entity query

Entities of a perspective, with the fields you choose.

View

A view's rows and columns, optionally filtered and sorted again.

Static

Rows typed in: targets, thresholds and demos.

Web parts included

OmniCore ships two packages of web parts, installed when the server starts.

Charts

Line, vertical bar, horizontal bar, pie and donut charts. Clicking a bar, point or slice selects its category; they're keyboard-operable and draw at their tile's size.

Grid

A data source's rows in a searchable, sortable, paged table. Clicking a row shares it with connected parts.

Card

A heading and a single value, such as Sales this month and its total, in the colour you choose.

Heading and HTML

Headings with a subtitle, and HTML as written, styled with CSS scoped to the part, under the page's security policy.

Write your own parts

A web part is a custom element with a context: data sources, connections, the theme and the locale. It never sees a token. The SDK has a base class, a test host and a harness that runs your package in the browser with a message bus panel.

Writing web parts →
export class CountryList extends OmniWebPart {
  protected override connected() {
    this.track(this.context.data("sales")
      .subscribe((table) => this.draw(table)));
  }
}

Read more