Hello @HerrM ,
I am not sure about the actual requirement but may be simpler way to do this is:
1. Design CRM Project Form where you need to put subgrid of team associated with current project.
2. In Portal Management:
a. Create Entity List, set Project entity in table, do needful configuration.
b. Create Web Page, set Project entity list here, do needful configuration.
c. Create Entity form, set Project entity in table, select a form where we put the Subgrid of teams,do needful configuration.
d. Navigate to entity list, options, advance settings -- Add Button - View Details - Set form which created on C.
Try to view this page in portal, it should show on Web Page:
1. list of Project
2. see option from action menu, click on view details
3. it should show pop up where we can see subgrid of teams.
Let me know if you get stuck in this.