How to add a custom related list for a table that has a many-many relationship with the secondary table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2021 09:09 AM
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2021 01:29 PM
If I understand everything this should work. I'm guessing you have your Bridge Table (aka Many To Many/m2m) in the related list? If so you can modify the list view and add fields from the 2nd table.
If you click on the "hamburger" menu in your related list on one of the columns, there is an option there to configure list layout:
From there you can dot.walk to your fields on the second table. Give a yell if this isn't what you needed or need more details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2021 02:08 PM
Since I posted my original question, I have discovered m2m tables and now have it setup that way. But your illustration shows it working in the Studio while I need this to work on a portal page, which I mentioned in my original question. I have made the necessary changes in Studio, and it works on a form. But, since my application requirement is to do this in a portal, I need to figure out how to do that.
So, I guess my real question is how do I add a m2m widget to a portal page? I've tried using the various data widgets, but they don't allow for adding or deleting entries.
Is there a widget that allows me to add the m2m table to a portal page, and be able to add/delete entries?