Warning or error about an app's configuration, for display on an admin page. Created with userManager.newConfigMessage, with a severity level such as 'warning' or 'danger', an optional short heading and the detail text. Apps return these from their configuration checks so the admin UI can tell an administrator what needs fixing.


Properties

PropertyReturnsDescription
levelStringSeverity of the message, eg 'warning' or 'danger'. Used to choose the styling of the alert it is rendered in.
messageStringFull detail text describing the configuration problem, shown beneath the heading.
titleStringShort heading summarising the issue. Null when the message was created without one.

Methods

getLevel()

Returns: String

Severity of the message, eg 'warning' or 'danger'. Used to choose the styling of the alert it is rendered in.

getTitle()

Returns: String

Short heading summarising the issue. Null when the message was created without one.

getMessage()

Returns: String

Full detail text describing the configuration problem, shown beneath the heading.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.