I am trying to display the Filename of my FileObject linked to my Page via ResourceObject. In my Page->getCMSFields() I have tried things like:
$manager = new FileDataObjectManager(
$this,
'Resources',
'Resource',
'Attachment',
array(
'Name' => 'Name',
'Attachment()->Filename' => 'Filename'
),
'getCMSFields_forPopup' // Detail fields (function name or FieldSet object)
);
But with no luck. Is there a way to achieve this?
Thanks,
Tilluigi