Create Family and Family Members at one go in one page.
0
Hi, Two entities are in the DM, namely “Family” and “FamilyMember”. One to many association between a Family object and FamilyMember objects. At the moment, you can create Family objects in Overview and Detail (NewEdit) pages. Also, you can crreate one family member at a time in another page called FamilyMember_NewEdit. You can view all members of one family in FamilyOverview. How do you create, in one page, a New Family object and various members associated with the Family object? How to do it simultaneously in one go in one page? Thanks.
asked
Mouin Mcharrafieh
2 answers
0
Start the page with a datagrid or listview where you show the list of families. This will also contain a New button, triggering the Family_NewEdit popup-page.
Place a listening datagrid somewhere else on the page that listens to the selected family. In that dataview add a datagrid or listview showing all family members over association to the dataview’s Family. Make the New and Edit-buttons for family members show a popup page. On Save you will be back on your original page.