I have a page type with a $has_one File and a place to upload the file on the CMS. Is there a way that files uploaded for those types of pages can go to a specified directory? for example, I have a 'employee' page and want to upload the resume - when I upload that resume I want it to go to 'assets/resumes' not 'assets'.
so it would be
static $has_one = array(
'Resume' => 'File'
$fields->addFieldToTab('Root.Content.Main', new FileIFrameField('Resume', 'Resume'), 'Content');