Hi guys,
I'm developing a custom control which accepts an array of objects as input. property abcs is the property which accepts the data.
metadata: { properties: { abcs: { type: "object[]", defaultValue: [] } } }
Imaging the following odata entity definition(I've simplified the xml to make it easier to understand).
<EntityType Name="Abc"> <Property Name="Key"> <NavigationProperty Name=DefSet" /> </EntityType>
Now I've set the control to oDataModel and bind the abcs property to the path:
theControl.bindProperty('abcs', { path: '/AbcSet?$expand=DefSet' })
But after I call the bindProperty method, odata request is not triggered. So there's only an empty array when I call getAbcs() inside the control.
What's the problem here?
Regards,
Aaron