File uploads

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
Dpitalo2
Posts: 1
Joined: 2014-04-26 13:48

File uploads

Post by Dpitalo2 » 2014-04-26 13:52

It seems I can only upload one file. Is it possible to upload more than one file to a record without creating multiple fields?

User avatar
a.gneady
Site Admin
Posts: 1354
Joined: 2012-09-27 14:46
Contact:

Re: File uploads

Post by a.gneady » 2014-06-07 17:05

I know my reply is toooo late, but just wanted to reply in case someone stumbles upon this post. AppGini supports only one file per field currently, though this might change in future releases. For now, you can create multiple upload fields in your table.
:idea: AppGini plugins to add more power to your apps:

KSan
AppGini Super Hero
AppGini Super Hero
Posts: 252
Joined: 2013-01-08 20:17

Re: File uploads

Post by KSan » 2014-06-12 02:33

Or... using good db design technique, you can make images a child table and add as many images as needed to a parent record using AppGini's currently existing and wonderful parent/child relationship capabilities! Just an idea. :D

TheCodeRed
Posts: 26
Joined: 2014-05-01 12:57

Re: File uploads

Post by TheCodeRed » 2014-07-23 13:48

I am also interested in something that allows users to select multiple files and it simply creates just creates a new record for every image.
I am currently looking into some kind of JavaUpload function.

Overall Outline would look like this.

Table:
id
photo
album

If you select 5 files, it runs a while loop and just creates 5 records with 1 image per record. I can't imagine it is that difficult. I am just thinking about this now because I am starting to use AppGiini for CMS backends to a few of my websites.

Post Reply