I want to use DOM on my sites frontend, but can't get to to work 100%. From Page Admin in the CMS I'm creating and managing my dataobjects perfect. But from the frontend I can't get the relations right. All my Objects shall have a has_one relation to the page where I create them from. But that is the only part I can't get to work. I see the actual Add request has a lot fewer parameters when I try running it from frontend, but didn't manage to figure out why yet. I construct the DOM field exactly the same in CMS and frontend.
$dom = new DataObjectManager(
array( 'Title' => 'Title' ),
'PageID = ' . $this->dataRecord->ID
If someone has any experience setting up DOM at frontend I'd be happy to hear about it.