Hi,
I have a Project, and that project can have sub projects and linked External Projects. On a page where I show some details of a project, I just need to show how many subprojects and linked external project a project has.
So for example:
Project 1:
Description: blabla
Status: Open
Sub Projects: 8
External Projects: 4
and more information ...
I don't need the rest of the info on this page ... what is the best way to get this information?
I don't really need to edit data here on this page, so I can use a dynamic list, but there is quite some other data I need to show (also related) and it's much more clear in code to use the entities and relations.
I can also just retrieve all the data anyway ... it's almost never above 10 for each related project type and just do a count on the collection on projectentity
I can also use 2 getscalar functions to retrieve these values.
What is the best way to solve this issue? Is there another effective way?
Best regards,