2 Level Hierarchy data-entry hard limit?
-
I just would like to confirm, because I think I have seen some q&a related to this in the WPDA website comments and in this forum, but I want to be sure… all “forms” back-end and any of the dashboard-published DataProject front-ends are limited to one 2 level hierarchies, yes?
If I have a table of Books (book_id, book_title) which has a 1:n relationship with a table of Book_Editions (book_id, edition_id, edition_year) which in turn has a 1:n relationship to Book_Edition_Contributors (edition_contributer_id, edition_id, fname, lname). It seems to me, still early in my testing, that there isn’t a built-in way to make a data entry or Master/Child/Child front-end display using just the system out of the box.
If I make a back-end data entry form to add a Book, I can add one and then go to Edit on it and get a tab for Adding book editions/versions with a year value, which I can do, all good… but to then add authors to those edition records I have to make a new discrete form for the dashboard menu and the user who just added a book with an edition record has to leave the Book/Editions workflow go out to that separate Editions dashboard menu option and search for the Edition record (that they added to the Book form’s child Editions tab) and only then can they add authors to the edition record. Does that workflow match the use case of WPDA?
I can make it a little easier for users by creating a view for the Edition form so they can see the book title instead of just a grid of record ids and years, but they still have to leave the Books form and go out to that Editions form and search for the Edition record to add that second level of data. Is that right?
If that is correct and there is a hard limit to data-entry of Master>Detail of just two tables, perhaps there is a way to make it seem like there isn’t?
In the default back-end forms, not the angular dataproject pretty displays, Is there possibly a way for me to add in a new button on the Book->Editions>Edit screen that can call the Editions form, preloaded with the current Editionid so the users can add authors without manually exiting to a new form and having to search? Technically, it is the same as them calling the Editions form and searching but to the users it “seems” more like it is a complete logical set of steps if the tool does it for them. Darn those users :).
Not to get confusing, because that is the main question but…
I’ve tried tricking the system using some views instead of direct tables to get multitable updates in one shot but while some mySQL views are “updateable” they aren’t updatable if they are made by joins so that didn’t pan out. I looked closely at the video tutorial for Many To Many (n:m) forms and thought I saw a potential option because at the beginning of the video the table diagram’s center table “Class” had not only a Students.StudentId and Courses.CourseId but also a varchar Classname column! I wondered how you were going to let the user put a value in that column. But the video didn’t touch that column and when I looked at the SAS.zip demo project I saw that the Classname column was not in the table anymore and there are no Class related features in the demo project except for that link table itself. Stuff happens.
So: Using the tool for data entry the Hierarchies are limited to 2 levels, 1)Master>2)Detail and that’s a hard limit?
It is a great system, best I have found for WordPress and has taught me a lot. Thanks!
- The topic ‘2 Level Hierarchy data-entry hard limit?’ is closed to new replies.