Anyone knows if is possible, and, how to binding a Control like "ObjectHeader" where the property "Title" is binding from one Entity and the agregations of this control like the ObjectStatus are binding from another Entity.
Here is the code:
bindObjectHeader: function() {
var objectHeader = this.getView().byId("objectHeader");
objectHeader.bindElement({
path: "/Products"
});
objectHeader.bindProperty("title", "Products/ToCategory/Description");
},
Well, the Entity Products has a CategoryId Property, and ToCategory is an association between the Entity Products and the Entity Categories... I want the correspondig Description of the given Category and Product
Thank you!
$expand
the category of your product? – Marc