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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba

DOM FIleDataObjectManager Issue


Go to End


11 Posts   2111 Views

Avatar
Peter_SS

Community Member, 19 Posts

15 June 2010 at 12:07am

Edited: 15/06/2010 12:08am

Hi guys i would like to ask if there's a way to clear/remove files already uploaded when creating a new record? thanks in advance

Avatar
pinkp

Community Member, 182 Posts

15 June 2010 at 1:39am

Avatar
UncleCheese

Forum Moderator, 4102 Posts

15 June 2010 at 1:54am

What exactly are you trying to do?

Avatar
Peter_SS

Community Member, 19 Posts

15 June 2010 at 2:09am

Edited: 15/06/2010 2:18am

Thanks pinkp for the reply but i think i have a different problem. when i create a new record in admin i have this tab that allows users to upload files (pdf, jpeg), but it listed all the files that already uploaded. is there any way not show existing files on creating new record? Thanks

Avatar
UncleCheese

Forum Moderator, 4102 Posts

15 June 2010 at 2:29am

Not sure what you mean?

Avatar
Peter_SS

Community Member, 19 Posts

15 June 2010 at 2:44am

Hi UncleCheese,

I have this DataObjects
Nurse :
static $has_many = array(
'NurseCredentials' => 'NurseCredential' );
NurseCredentials :
static $has_one = array (
'Attachment' => 'File',
'Nurse' => 'Nurse'
);

in the Nurse admin page i have Credentials tab. When uploading files using Data Object Manager it listed all files that are already uploaded. is there any way not to show existing files on creating new Nurse? Thanks!

Avatar
UncleCheese

Forum Moderator, 4102 Posts

15 June 2010 at 2:58am

I still don't understand. Why would you want to hide existing records? How will you ever edit or delete them?

Avatar
Peter_SS

Community Member, 19 Posts

15 June 2010 at 3:53am

the filemanager, by default, displays all the uploaded files, is there a way to hide these files that are not related to the current object that you're working with

Go to Top