# DashboardWidgetDataType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Specifies widget data source.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
sourceType | property DashboardWidgetSourceTypeType | [1,1] | Type of the widget.
displaySourceType | property DashboardWidgetSourceTypeType | [0,1] | Type of the widget.
collection | container CollectionRefSpecificationType | [0,1] | Specification of an explicit or implicit object collection that will be used as data source for the view.
objectRef | reference ObjectReferenceType | [0,1] | Specification of a single object as a widget data source.
storedData | property string | [0,1] | Specification of a string data as a widget data source.
metricRef | container SimulationMetricReferenceType | [0,1] | Reference to a metric - either by identifier (for explicitly defined ones) or by mark OID (for event mark based).

- ### Items

  - #### sourceType

    Flags: RAM,runtime,AVals:5

    Multiplicity: [1,1]

    Type of the widget. It is an identifier that specifies the type of the information (content) of the widget.

  - #### displaySourceType

    Flags: RAM,runtime,AVals:5

    Multiplicity: [0,1]

    Type of the widget. It is an identifier that override sourceType. This element is used only for number message in widget, for redirect to details page is still used sourceType.

  - #### collection

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Specification of an explicit or implicit object collection that will be used as data source for the view.

  - #### objectRef

    Flags: RAM

    Multiplicity: [0,1]

    Specification of a single object as a widget data source.

  - #### storedData

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Specification of a string data as a widget data source. This data can be stored by report task.

  - #### metricRef

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Reference to a metric - either by identifier (for explicitly defined ones) or by mark OID (for event mark based).