Hello, I am new in vsphere web client plugin development.
I need to dispatch multiple DataByConstraintRequest (let's say of A & B Data model class) within a single action script class. But to handle data response events, we use
[ResponseHandler(name="{com.vmware.data.query.events.DataByConstraintRequest.RESPONSE_ID}")]
public function onVmListRetrieved(request:DataByConstraintRequest,
result:ArrayCollection):void {
// result is an ArrayCollection of MyVmData objects
}
Here how should I come to know that result variable is either for A or B Data Model class. (including the case result may be an empty array collection)
In case of DataByModel request, we have separate data response events for data model class but I couldn't find the same for DataByConstraint.