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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

How can I migrate from HasManyFileManager to FileDataObjectManager

Go to End



Community Member, 55 Posts

10 August 2010 at 5:01pm

I created a website for a client about a year ago, using the HasManyFileManager to allow them to attach PDFs to pages of their site.

Well the site is growing and I'd like to update to the latest silverstripe. The problem is that they have maybe 100 pages and each page has 2 or 3 files attached to it.

How can I migrate the file attachments from HasManyFileManager to FileDataObjectManager? I don't want to have to look through each page and attach the same files manually - is there any way I could automate it?