Posted in Dataverse
Adding a many-to-many relationship subgrid to a form
Overview
This post will provide some screenshots on how to add a many to many subgrid (i.e. N:N subgrid) to a Dynamics 365 form (Figure 1). In the example, many person records will be associated to many document records
![](https://dustinminer.com/wp-content/uploads/2024/02/1.png)
Setup
1.) Create the many to many relationship (Figure 2). This will also create a relationship (intersect) table (Figure 4)
![](https://dustinminer.com/wp-content/uploads/2024/02/2.png)
2.) Add the subgrid to the form
Note: Name = Subgrid_Documents_Contact_DocumentUpload
![](https://dustinminer.com/wp-content/uploads/2024/06/3-1.png)
Appendix
![](https://dustinminer.com/wp-content/uploads/2024/02/4.png)
![](https://dustinminer.com/wp-content/uploads/2024/07/5-1.png)