Skip to Content
0
Sep 06, 2018 at 04:13 PM

XML view binding issue

185 Views

Hello,

I'm trying to bind data from Northwind OData service to XML view.

Here is XML definition of the list:

<List items="{path : '/Suppliers', parameters:{expand: 'Products/Category'}, filters : [{ path : 'Name', operator : 'EQ', value1 : 'Exotic Liquids' }] }">
	<CustomListItem >
		<Text text="Suppliers- {Name}"/>
		<List items="{path: 'Products', templateShareable:false}" visible="{path: 'Products', formatter: '.pathData'}">
			<ObjectListItem title="Product Name- {path: 'Name'}" intro="Product Description- {Category/Name}"/>
		</List>
	</CustomListItem>
</List>

The problem is that ObjectListItem doesn't display the relevant data (the formatter of the second List displays correct array of products).

What do I miss here?

Thank you.