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
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
- Page 11(current)
- 2
- Next 10 entries
Is this any help...
http://www.silverstripe.org/all-other-modules/show/266319?start=8#post286421
What exactly are you trying to do?
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
Not sure what you mean?
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!
I still don't understand. Why would you want to hide existing records? How will you ever edit or delete them?
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
- Page 11(current)
- 2
- Next 10 entries