cancel
Showing results for 
Search instead for 
Did you mean: 

OData Read Navigation Propertys / Links

0 Kudos

Hello,

i have two Tables - Users (1) and Documents (n) and a OData OLingo Service.

Now i want read the Links beetween the Entrys. I want to Display in a Table the Documents, with the Information which User holds it.

DocumentId ; Document>Name ; UserId ; User>Name
1 ; DOC1 ; 21 ; Smith
2 ; DOC2 ; 22 ; Lee
3...........
99 ; DOC99 ; 36 ; Gonzales

Basic Requests like "path:Users/Documents" works fine, but i dont found anything for the Relationship.

items="{ODATA>/Users/DocumentDetails}"<br><br>DocumentId ; Document>Name 
1 ; DOC1 
2 ; DOC2
.........
99 ; DOC99

Thanks for your help !

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Solution:

Tables: Documents, Users
Navigation Property: UserDetails

items="{ path : 'ODataService>/Documents' , parameters: {expand: 'UserDetails'}}

<Text id="text1" maxLines="0" text="{ODataService>UserDetails/UId}"/>

Answers (0)