Maker guide

Designing dashboards

Add charts and other parts, define data sources and connect parts to parameters.

Dashboards lists the dashboards, each with its layout, number of web parts and data sources, and when it changed. Read Dashboards for data sources, parameters and connections.

Making a dashboard

Press New dashboard, enter the name and choose a layout card. The dashboard is made empty and the designer opens.

The designer

It works like the form designer:

AreaWhat's there
LeftWeb parts, by package: OmniCore's basic parts (grid, heading, HTML, card) and charts, and any others installed. Below them, the Data sources. The search box filters the web parts.
MiddleThe dashboard running in its layout's zones, with live data. The parts are the real ones, so clicking a slice filters what it's connected to.
RightThe selected part's settings and connections; or a data source's definition; or the dashboard's display name and description.
The dashboard designer, running the dashboard's parts on live data.
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.

Adding and moving parts

  • Drag a web part into a zone, or choose a zone and press the part.
  • Move tiles by dragging, with the arrows, or with the Zone list. The bin removes one.

A part's settings

The settings form comes from the part's own configuration schema, with pickers for the data source and its columns. A part without a schema is configured as JSON.

For example, a donut chart takes a title, a data source, a category column and a value column. A card takes a heading, a data source, a value column and how to show it: the first row's value, or a sum, average, count, minimum or maximum over the rows. See Built-in web parts.

Data sources

Press New data source and set:

  • its name (letters, digits and _). Renaming one follows into the parts and connections that use it.
  • its kind: aggregate, entity query, view or static;
  • its definition:
KindDefinition
AggregateThe perspective; select (status=status, orders=cnt(), total=sum(orderTotal)); group (status); optionally having, where and order.
Entity queryThe perspective, the fields, where and order.
ViewThe view, and optionally where and order.
StaticThe columns (name, type, label) and the rows.
  • its parameters: each a name, a field and an operator.

Preview runs it and shows the rows, before you save.

Connections

Select a part to see its connections: each field provider it declares (such as a chart's Selected category), the data source parameters it fills, and a list of compatible parameters to add.

To make a bar chart follow a donut:

  1. Add a data source picked, like the donut's but with a parameter department on the field department, operator =.
  2. Point the bar chart at picked.
  3. Select the donut and connect Selected category to picked → department.

Now clicking a slice sets the parameter; picked runs again and the bar chart redraws. Clicking the slice again clears it, and with no value the parameter doesn't filter.

Saving

Save sends the dashboard; the database checks its parts, data sources and connections and lists any problems. Dashboards asks first if there are unsaved changes. Saved dashboards appear in the portal.