Di you try to use the “object type decision” widget in a microflow, then cast your Model A Object into Model B object?
From what I understand (but I could be wrong), you want to show both entity A and B on the same page. If I understood incorrectly, then ignore this answer. The question is a bit vague.
In order to do so, you need 2 data views.
- DataView of entity A, showing the attributes of A, and
- DataView of entity B, showing the attributes of B.
The DataView of entity B should be inside the DataView of entity A, so you can pick the association as a source for entity B.
If you wish to use a DataGrid for entity A, then you should do something similar;
- DataGrid of entity A, showing the columns with attributes of A, and
- DataView of entity B, showing the attributes of B whenever something is selected from the DataGrid.
The DataGrid of entity B should have "Listens to Widget” as a DataSource. The Widget to listen to is the DataGrid with entity A.