Parent/child many to many relationships

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
lrkendall
Posts: 1
Joined: 2013-08-05 02:16

Parent/child many to many relationships

Post by lrkendall » 2013-08-05 02:46

I have only owned the software for a couple of days, so I may be missing the answer. I have many tables that have link tables between them to represent many to many relationships, such as Persons, Phone Numbers, Addresses, Email Addresses and link tables like Persons_PhoneNumbers, Persons_Addresses, etc. How do I configure AppGini to generate pages with the Person record on top, and tabs below showing Phones, Addresses, Emails?

User avatar
a.gneady
Site Admin
Posts: 1354
Joined: 2012-09-27 14:46
Contact:

Re: Parent/child many to many relationships

Post by a.gneady » 2013-08-08 01:20

In AppGini, click on the parent table in the left pane, then click the button labeled "Parent/Children settings" and configure the child tables you want to display.

Before the above step, you should have configured lookup fields correctly in the child tables.
:idea: AppGini plugins to add more power to your apps:

mjt1234567890
Posts: 5
Joined: 2015-05-01 20:03

Re: Parent/child many to many relationships

Post by mjt1234567890 » 2015-05-04 20:27

Hi,

I configured my lookup fields correctly and when I go to the table to add a new item in my application it works fine BUT when I go into appgini and enable the items in the "parent/child" settings it creates the tabs in the bottom and it shows the "add new" button, I click on it and the window opens fine but it is not allowing me to look up like it does when I add the item directly from the table I created. In other words its like the parent/child portion when enabled on the page is broken somehow.

Any ideas? I have deleted the DB and started from scratch but the problem still exist.

Thanks

Post Reply