Gather uploads for one section?

2 posts by 2 authors in: Forums > CMS Builder
Last Post: December 19, 2016   (RSS)

By mizrahi - December 19, 2016

I am looking to transfer a single section of an existing site using CMS builder to a new site, also to use CMS builder. Moving the data itself is easy, but I am trying to determine if there is a way to also collect the uploaded files related to that section. There are lots of other sections with uploads in the current site, so everything is mixed together in the /uploads directly.

Any ideas here?

By Dave - December 19, 2016

Hi mizrahi, 

There's no built in way to do that.  But you could get a list of the files with a mysql query like this: 

SELECT filePath FROM cms_uploads WHERE tableName = "your_section_name"

Hope that helps!

Dave Edis - Senior Developer
interactivetools.com