getRelatedSet() from Layout with Multiple Portals of Same Table
We have a layout that has three portals based on the same table. (i.e. Account record with one to many relationship to Transactions) The related records presented in each of these portals differs based on the filter applied to each portal. This works great for presenting transactions related to an account as Revenue, Transfers, and Expenses.
However, when we list the portals in PHP using CWP, only one portal is listed although each portal has an object name of Revenue, Transfers, or Expenses respectively. How can we use getRelatedSet() to retrieve records from each of these portals as distinct arrays of records?