Skip to main content

Formatting custom health tooltips

Roles and permissions

  • Only administrators can customize health tooltips

Tooltips found on control and program health cards can be customized, but must follow a certain syntax. An error will occur if the tooltip isn’t properly formatted. Currently, the functions {controlType} on simple controls and {count} on parent controls and programs are supported.

To customize a tooltip:

  1. From the left menu, select Settings.

  2. Select Health.

  3. Select the tab that corresponds with the tooltip you want to adjust, and then click Update rules.

  4. Mouse over a rule, and then click Edit.

  5. Below Tooltip text, enter the new tooltip. Refer to the table below for the correct formatting.

  6. Repeat steps 4 and 5 as necessary.

  7. Click Save.

Example

Valid string

Valid on...

Simple control, testing is ineffective

This {controlType} has been assessed as ineffective.

Simple controls, scope assignments

Parent control, scope assignments in critical health

"{count} scope {count, plural, one {assignment is} other {assignments are}} in critical health. Resolve this to get this control healthy again."

Parent controls

Program, number of controls with critical health > 0

{count} {count, plural, one {control is} other {controls are}} in critical health. Resolve the health of {count, plural, one {this control} other {these controls}} to get your program healthy again.

Programs

For more information on formatting, refer to the official Format.JS documentation.