I have three Custom Post Types: Book, Volume and Chapter where one Book can contain many Volumes and one Volume can contain many Chapters.
I want to do something like this:
The user access "Books"
The user select a book for editing and, inside that page, on the meta box, he can add/edit just the volumes relating to that book
The user select a volume for editing and, inside that page, on the meta box, he can add/edit just the chapters relating to that volume
The user finally select a chapter to edit
I initially thought of putting an iframe inside the meta box area on the post types using the
src attribute as
edit.php?post_type=post_type with some filters on its query string, to list just the post type related to the respective page.
What would be best in that situation?
Is that a pattern on WordPress to work with situations like that, where Custom Post Types needs to be Custom Fields of another Custom Post Type, i.e. one to many entity relationship?