Need Help with my Football(Soccer) Management App
Question
Application Type
Reactive
Service Studio Version
11.11.0 (Build 42331)

Hi all,


First of all I would like to mention that I have just started using Outsystems. I am trying to build a Soccer Management Reactive App and sadly I got stuck when trying to make a relationship between a "player" (which after every practice receives some grades ) and the "parent" (which can see those grades)

Also to mention that the "parents" have access to only their "player" results.


Thank you very much, I really appreciate your help.


Vlad

Hello @Vlad Constantin 

First of all welcome to outsystems.

You need to add a foreign key (parentsId) to the player entity in order to distinguish the player by parentsId.

Something like in the screenshot

Regards

Gonçalo Almeida

Hi @Vlad Constantin ,


You can create one to many relationship between parent and player entities by adding parentsid in player entity.

Please refer below link in order to understand Entity relationship in Outsystems.

https://success.outsystems.com/Documentation/11/Developing_an_Application/Use_Data/Data_Modeling/Entity_Relationships

Hi guys,


Thank you very much for your very prompt reply.

Really appreciate it.


Vlad



Hi @Vlad Constantin 


As mentioned above, you can create a one-to-many relationship for your needs, in this case between parent and player.

Please, look at "How to create one-to-many"


I hope helped you

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.