Skip to main content


class DeepSee.Model.KPIs.DemoDataChanges extends %DeepSee.KPI

This KPI class is intended for use in a dashboard that demos real-time updates using the Patients sample. The actions in this class invoke methods in that sample that add, change, or delete data.

The actions are defined in the %OnDashboardAction() callback. The XData block in this class contains one element for each action, to advertise these actions to the widget builder in the user interface.

This KPI class also defines a simple one-cell KPI which is displayed in a text meter widget on that dashboard. (An alternative way to access these actions from ANY dashboard would be to use this class as the actionClass for the Patients cube.)

To see the full KPI definition, open this class in Studio.

Method Inventory


Inherited description: Localization domain. DataModel classes that wish to support localization must provide a value for this within subclasses.


classmethod %OnDashboardAction(pAction As %Library.String, pContext As %ZEN.proxyObject, pDataSourceName As %Library.String = "") as %Status
Inherited description: This callback is invoked from a dashboard when an action defined by this dashboard is invoked.
pAction is the logical name of the action.
pContext is a proxy object that contains various information about the action and provides a way for the method to return information to the client.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab