The page you showed above is set up correctly.
To display a list of attachments for a single project, build the Attachments page like this:
Hope that helps.
If your domain model looks like this:
And you have a Project list page like this:
You can create a page like this that will be opened by the View Documents page highlighted above:
I have highlighted the association used to retrieve the documents in the nested datagrid. The object passed to this page from the Project List page is an individual project. Mendix knows which documents to retrieve based on the associations between a document and a project. So you don't need to pass in a project id, but instead a Project object.
Also, because the nested datagrid for documents uses an association to retrieve documents, any documents created by the New button on that grid will be associated to the Project object of the enclosing dataview. In other words, if I pass Project ABC into the page that displays the documents, any documents created on that page will be associated to Project ABC without a developer having to perform any additional steps.
Hope that helps,
I think i'm missing how to correctly do a nested data grid to get the relationship to show up in my connector
I'm trying to figure out how you got the outer frame to say 'Project, Page Parameter '
Thank you, that worked!