Skip to Content

Adding entity with parameter as navigation in xsodata services

Mar 29 at 07:06 PM


avatar image


I want to add navigation property to my oData services. I want to add a navigation property with a parameter. And of course I want to know how to construct the URL.

I have a calculation view with all players and a calculation view with all transfervalues. The results from the view with the transfervalues has key fields PLAYER_ID and TEAM_ID. This view also has a input parameter IP_PLAYER_ID to make sure the values of only 1 player is being calculated.

I've tried it with a generated key, parameters via entity and a lot of other things but I am not able to make it work.


"wve.calcviews.dim::Player" as "Player" key ("id")
navigates("TransferValueAssociation" as "TransferValues"); "wve.calcviews.dim::TransferValue" as "TransferValue" key("PLAYER_ID", "TEAM_ID")
parameters via key and entity "TransferValueParam"
results property "Results"; association via parameters "TransferValueAssociation"
principal "Player"("id") multiplicity "1"
dependent "TransferValue"("PLAYER_ID") multiplicity "*";

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Wim van Erp Apr 06 at 01:31 PM

Is it possible to give the key of an entity to an input parameter of an associated entity?

10 |10000 characters needed characters left characters exceeded