The Split Case Properties widget provides incoming events
to handle the data that is received from other widgets.
Clear content event
| Description |
Clear the content in the Case List widget. |
| Event ID |
icm.ClearContent |
| Payload |
null |
Split Case Properties event
| Description |
Display the properties for creating a case and reuse corresponding property
values from the existing
case. |
| Event ID |
icm.SendSplitCaseInfo |
| Payload |
- caseEditable
- An icm.model.CaseEditable object that represents the case that is to be
created.
- coordination
- An icm.util.Coordination object that is used internally by the widgets in the
same page.
|
Update fields event
| Description |
Update the fields with the values that are contained
in the event payload. |
| Event ID |
icm.UpdateFields |
| Payload |
- changes
- A JSON object that contains the unique identifier and value for
the property that was modified. The structure is:
change:[
{
id: prop1,
value: value1
}
{
id: prop1,
value: value1
}
]
The data type of each value must correspond to
the data type of the property, or must be null. For properties that
support multiple values, the value is an array of the corresponding
data type. If the value is incompatible, the value is coerced if possible
or a default value is applied. A warning is also logged.
|
Update properties event
| Description |
Update the properties in the view with the values that are contained in the
event payload. |
| Event ID |
icm.UpdateProperties |
| Payload |
- changes
- A JSON object that contains the pvr.widget.Property object, value, error, and
row for the property to be updated. The structure is:
changes:[
{
property: prop1,
value: value1,
[error]: error1,
[row]: row1
},
{
property: prop2,
value: value2,
[error]: error2,
[row]: row2
}
]
The data type of each value must correspond to the data type of the property,
or must be null. For properties that support multiple values, the value is an array of the
corresponding data type. If the value is incompatible, the value is coerced if possible or a default
value is applied. A warning is also logged.
|