Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Data Model Questions

Saving files with uploadfield into a child relation


3 Posts   352 Views


12 December 2012 at 12:22am Community Member, 254 Posts

Hi guys,

I'm wanting/wondering if I can use the upload field on a parent object to save into a child object's image relation.

I have an ItemPage which has_many StoryItem which has_one Image
There are a few optional fields in StoryItem, so for simplicty I would like the awesome upload field on the ItemPage to drag and drop into.

I tried supplying Stories.Image as the $name when creating new UploadField(), no go though. Am I dreaming?

Using gridfield is fine too, just not quite as fast.


12 December 2012 at 5:06am Community Member, 528 Posts

I'm currently in the process of upgrading a site from 2.4 to 3 where I had a working solution. I'll keep you posted as I should be tackling that section this week


12 December 2012 at 12:31pm Community Member, 254 Posts

ty zenmonkey, I'll here update if I get any closer to achieving this.