form.uploadFileFromBrowser(); uses the global settings in the UFSSetup.properties for Ufs.fileDirectoryName, Ufs.uploadFileTypes and Ufs.maxUploadFileSize.
It would be good if you could set these at the application / form level (i.e.)
You may have a form where we only want a user to upload a jpg, jpeg or gif (Images Only) with a Max upload set at 10MB and specify a specific location for these.
Another form you may only want to allow documents doc, docx and pdf etc.... with a Max size of 5MB and a different directory location.
This will give a lot more control and make form filling more efficient?
Configuring Upload Properties At Application / Form Level
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 1
- Joined: Wed Mar 06, 2013 1:52 pm
- Location: Carmarthen, Wales, UK
- Contact:
-
- Moderator
- Posts: 184
- Joined: Tue Sep 11, 2007 8:58 am
-
- Ebase User
- Posts: 37
- Joined: Wed Mar 13, 2013 11:33 am
- Contact:
-
- Ebase User
- Posts: 95
- Joined: Wed Feb 27, 2013 5:16 pm
-
- Ebase User
- Posts: 53
- Joined: Thu Sep 13, 2007 9:02 am
- Contact:
- jig
- Ebase User
- Posts: 30
- Joined: Sun Oct 09, 2011 10:16 am
- Location: UK
This would be invaluable for us as we run many Ebase applications on a Software as a Service (SaaS) model.
Also, some type of control/config which makes the 'Upload' work on a tablet would be great! (Right now, we are looking at alternative of uploading image/video in iOS/Android without using a native app)
One more vote from us
Also, some type of control/config which makes the 'Upload' work on a tablet would be great! (Right now, we are looking at alternative of uploading image/video in iOS/Android without using a native app)
One more vote from us
0 x
Regards,
Jignesh
Jignesh Vaducha, MSc, MCA
Mobile: +44 (0) 77 325 47 112
Telephone: +44 (0) 1462 488 311
Email: jignesh@schnellsolutions.com
Jignesh
Jignesh Vaducha, MSc, MCA
Mobile: +44 (0) 77 325 47 112
Telephone: +44 (0) 1462 488 311
Email: jignesh@schnellsolutions.com
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
Some of these enhancements have been included in V4.5 which is due for release 19th July 2013. The form.uploadFileFromBrowser() method will accept a new options argument. This allows the following to specified for each upload:
1. Target directory
2. Max file size
3. Supported file types
4. MIME types
There are a few caveats with this: the MIME types option affects the file types shown by a browser when the user clicks on the Browse.. button. Different browsers implement this in different ways so it's not completely consistent, some browsers allow additional types to be uploaded and some don't and some (IE) don't support it at all. However, it's still very useful. In contrast, the supported file types option is checked by Ebase on the server and will always be honoured - but unfortunately this list is not shown to the user. Also the association between MIME types and file types is not always obvious.
Unfortunately, it's not possible to support multiple file upload at this point - this is an HTML 5 feature, and not enough browsers support it yet. Hopefully, we can introduce this in the future.
Thanks to all for your suggestions.
Regards
Jon
1. Target directory
2. Max file size
3. Supported file types
4. MIME types
There are a few caveats with this: the MIME types option affects the file types shown by a browser when the user clicks on the Browse.. button. Different browsers implement this in different ways so it's not completely consistent, some browsers allow additional types to be uploaded and some don't and some (IE) don't support it at all. However, it's still very useful. In contrast, the supported file types option is checked by Ebase on the server and will always be honoured - but unfortunately this list is not shown to the user. Also the association between MIME types and file types is not always obvious.
Unfortunately, it's not possible to support multiple file upload at this point - this is an HTML 5 feature, and not enough browsers support it yet. Hopefully, we can introduce this in the future.
Thanks to all for your suggestions.
Regards
Jon
0 x
Who is online
Users browsing this forum: No registered users and 5 guests