Hi all,
Recently I had an requirement, wherein, I had to bind the data from my function imports in odata services to my controls in XML view.
However, most of the solutions i found had achieved the same by doing a "oModel.callFunction()" in their controllers.
I was able to find a solution and thought I would share it in a blog post here.
Here is the sample code
<MultiComboBox items="{ path:'/myFunctionImport', parameters: { custom: { 'param1': '\'value1\'' } } }"> <core:Item key="{Id}" text="{Text}"/></MultiComboBox>
Thanks,
Krishna