[Index]

Model: data/DashboardColorMapping

Manage dashboards and widgets

Full HTML Help

Tip

Use the Action search to navigate Automate

Overview

Administrators can manage dashboards via the Dashboards link on the Role Based Access dashboard.

Add or edit a dashboard

Automate provides several configuration options for working with dashboards.

Add or edit widgets

When a dashboard is added or updated, widgets can be added, removed or edited.

To add a widget, click the Add Widget toolbar icon; then, on the design form, either select the widget from the toolbar or from the provided list of icons:

To edit a widget on a dashboard, select the dashboard from the list and choose Edit from the widget's menu. The widget menu provides a number of operations.

Note

Where a widget resource references data over a time period (such as transactions), the widget interface provides a time picker control to indicate and change the interval for the data shown on the widget.

The widget edit interface also provides a Use widget date range option so that the date range selected in the widget is applied and overrides the general dashboard date range setting.

Fields common to widgets

A number of fields are available across widget types. Details of some common field types are provided here.

Related topics

Dashboard sync and refresh

A real-time sync process is running to maintain Automate and Insights databases in sync. After upgrade to release 24.2, dashboard management is available after 30 minutes, since the scheduled delta-sync process initially carries out a full sync and thereafter an incremental resource sync.

See: Insights Analytics in the Platform Guide.

Important

Dashboard fields showing the item hierarchy (similar to Located At) are updated only when a delta sync runs. For example, if you've added users to the system and then moved them to a site, any charts, counters, or tables showing a count of users (at that site or at the system level), will only reflect the correct number of users once a delta sync runs and not when simply refreshing the dashboard or widget in a real-time sync. Until the delta sync runs, the hierarchy fields for these users display on dashboard charts, tables, or widget counters as with no (empty) hierarchy value. See Dashboard Refresh.

Value mapping

The Value Mappings page defines a list of value mappings used when retrieving data for dashboard widgets. This allows a dashboard designer to substitute a stored value with a friendlier value that will be displayed to the user.

Note

Updating existing grouping configs has a refresh delay of 30 mins.

Value mappings allow for custom, alternative field values of resources to be displayed in chart widgets by using the Value Mapping field. This optional value is applied during the design of a widget and is typically used to present a more user-friendly field value in a chart widget, for example, to map the value of Cisco Codec Mappings originally: 0 to mapped: No Media Established.

Note

The mapping instance name can persist across hierarchies, so that a dashboard at a particulary hierarchy that invokes the mapping with a name will have that mapping applied if it exists at the dashboard hierarchy, else the first mapping with the same name in the hierarchy tree above the dashboard hierarchy. In this way, a dashboard that is moved to a particular hierarchy can retain the mapping name.

The Value Mappings page (data model: data/DashboardValueMapping) is available to provider administrators and higher to add, delete and manage mappings. The model contains the default individual mapping value: NO MAPPING.

The design of a mapping allows for the selection of an evaluation operator to apply to the original value as an input condition and then to provide the replaced value in accordance with the evaluation operator test result.

Evaluation operators that can be applied to the original field values are:

Note

Examples:

Color mapping

The Color Mappings page defines a list of color mappings used to style data in dashboard widgets.

Automate provides options to allow for custom, alternative display colors and icons of Automate Analyze resources to be displayed in table widgets by modifying the Field Type of the resource and by creating instances of a dashboard color mapping. The mapping instance name is then selected in the Text Color Mapping and/or Cell Color Mapping dropdown lists under Table Options > Renderers when designing a table widget.

Note

The mapping instance name can persist across hierarchies, so that a dashboard at a particulary hierarchy that invokes the mapping with a name will have that mapping applied if it exists at the dashboard hierarchy, else the first mapping with the same name in the hierarchy tree above the dashboard hierarchy. In this way, a dashboard that is moved to a particular hierarchy can retain the mapping name.

The Field Type of the field needs to be set to one of:

Refer to the Format Type of the field in the Table topic above.

This optional mapped value is applied during the design of a widget and is typically used to present a more user-friendly color or icon in a table widget, for example, to map a range of field values to have a specified color.

The design of a mapping allows for the selection of an evaluation operator to apply to the original value as an input condition and then to render the replaced color in accordance with the evaluation operator test result.

Evaluation operators that can be applied to the field values are:

The Color Mappings page (data model: data/DashboardColorMapping) or Color Mappings link on the MVS-RoleManagement-Dashboard dashboard is available to provider administrators and higher to add, delete and manage mappings.

Examples:

  1. If a Dashboard Color Mapping instance exists that matches the Regex .*00.*, then render the text as color: #ff0011.

    The Render section of a table widget has a field with Field Type set to "Text" and the Text Color Mapping dropdown selection is the created Dashboard Color Mapping.

    The table then displays the text the matching text accordingly, acording the selected Dashboard Color Mode (Light/Dark) of the theme that is applied - see: Create a Theme in the Business Admin Portal. The example below shows the Light theme applied.

  2. If a Dashboard Color Mapping instance exists that maps the Regex value Ani, with the color: #fff200 and this instance is applied (selected under Chart Options) to a chart showing user first names that start with An, then names starting with Ani will be rendered in the chart mapping color (example below for Light theme):

Field Groupings

The Field Groupings page defines groups of similar data to facilitate common analysis and drill-down functions on a single dashboard.

Custom Reporter Resource fields

Automate provides an options to allow for the custom creation of calculated fields for a reporter resource. The customizations are added to a resource model called data/CustomResourceModel, where they can be grouped by a name and the calculated fields can be mapped to a selected resource in the reporter resources.

The screenshot below illustrates the creation of a custom field for to be used as the name_1 field as well as its selection in the design of a table widget.

Note

Defines a list of color mappings used to style data in dashboard widgets.

Model Details: data/DashboardColorMapping

Title Description Details
Name *
  • Field Name: name
  • Type: String
  • MaxLength: 1024
Description
  • Field Name: description
  • Type: String
  • MaxLength: 1024
Mappings Specify all values that should be mapped to a particular condition.
  • Field Name: mappings.[n]
  • Type: Array
Light mode color Color to be displayed in light mode.
  • Field Name: mappings.[n].light_color
  • Type: String
  • MaxLength: 1024
  • Pattern: ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$
  • Format: color
Dark mode color Color to be displayed in dark mode.
  • Field Name: mappings.[n].dark_color
  • Type: String
  • MaxLength: 1024
  • Pattern: ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$
  • Format: color
Type Operations used to evaluate the data value and condition. Regex is applicable to text and numeric data. Greater than, Less than, and Range are applicable to numeric data.
  • Field Name: mappings.[n].type
  • Type: String
  • MaxLength: 1024
  • Choices: ["Regex", "Greater than", "Less than", "Range"]
Min Starting point of the range used for numeric data value.
  • Field Name: mappings.[n].min
  • Type: String
  • MaxLength: 1024
Max Ending point of the range used for numeric data value.
  • Field Name: mappings.[n].max
  • Type: String
  • MaxLength: 1024
Value Data value to be compared.
  • Field Name: mappings.[n].value
  • Type: String
  • MaxLength: 1024