SpiffyJr/SpiffyAdmin — Issue #2: Support for ODM embedded documents
Author: danrossi
Created: 2012-01-26 20:34:02+00:00
State: open

Let me try and work something out to explain what is needed with ODM embedded documents, it's not entirely a many or one reference but collections added to the main collection ie in json format it might look like this, and would generally not be a seperate form entity but part of the same form page for the main document collection.

{
id: 1,
title: "main document",
embeddeddoc: [
{ id:1, customfield: "test"},
{ id:2, customfield: "specific to this document"}

]

}

It may require some sub form rendering, but these entries would be preferable to be listed on the same page as the form page, or some hacks may be required to link to another list view, and create the embedded documents there to update the main document with perhaps ?