cancel
Showing results for 
Search instead for 
Did you mean: 

Bind and display Collection(Edm.String)

szymon_glapiak
Explorer

Hi team. I'm wondering how to bind Complex type - Collection(Edm.String- into List. Example:

Service (odata v4) https://services.odata.org/V4/TripPinServiceRW.

Entity Type :Person has property :

<Property Name="Emails" Type="Collection(Edm.String)"/>

I setup something like

	    <List  id="list0" items="{Emails}">
	        <items>
	            <StandardListItem title="{}"  id="item1"/>
	        </items>
	    </List>

Number of items is ok but the content of the title is not displayed . What should I put there ?

View Entire Topic
venkateswaran_k
Active Contributor
0 Kudos

Hi

You may have to specify the path explicitly.

<List headerText="Persons" items="{ path: '/Emails'}" >

<StandardListItem title="{Email}" />

</List>

Regards,

Venkat