on 09-27-2018 12:38 PM
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 !
Solution:
Tables: Documents, Users
Navigation Property: UserDetails
items="{ path : 'ODataService>/Documents' , parameters: {expand: 'UserDetails'}}
<Text id="text1" maxLines="0" text="{ODataService>UserDetails/UId}"/>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.