In my organization our support Cases can be linked to many Products so I've created an N:N relationship between Cases and Products and added a sub-grid to each entities' form. The problem I'm running into now is in our Case views we want to see the list of related products in a column. The best way I can think to do that is to just create a custom string field on the Case record called 'Product List' and to somehow populate that string field with a concatenated list of related Product names. Does anyone have any suggestions on how to do this? I've used Ribbon Workbench before to add/append custom JavaScript to various buttons, but I don't know which buttons/commands to modify to capture both Adding and Removing a record from the sub-grid.
I've considered using a manually controlled N:N relationship with a custom entity called 'Product List'. However I still want this 'Product List' entity to be transparent to the user, IE they see a sub-grid of Products on the case form and a sub-grid of Cases on the Product form. By definition I don't think this can be done with a manual relationship.
I've also considered using a manually controlled relationship AND a native N:N relationship. The native relationship would control the sub-grids on the for, while the manual relationship and custom entity would provide the string field. However I'm lost when I come to thinking about how to link the two N:N relationships. I also think this is way more complicated than it needs to be.