Page 1 of 2
Support document upload?
Posted: Thu May 27, 2010 11:46 am
by ngkung
I am new to nubuilder. However, I have to make a quick decision whether I should adopt it for my client.
My client requests for document attached with invoice or quotation.
Is it supported? I found there was a discussion for Object File Type. Is that the solution? Any roadmap for this part?
I am familiar with PHP and file upload. Should I alter the code by myself? Any suggestion?
Other than nubuilder, any other suggestion? (ha ha, may not be a good question here!)
Howard
Re: Support document upload?
Posted: Thu May 27, 2010 12:27 pm
by cypherinfo
Hello, that is a great idea! nuBuilder would be a great and unique data base interface; the only that may offer complete features to be open source!
I need it too; for now I'm using TOAD and HeidiSQL; I cannot afford Navicat.
Thank you.
Cypherinfo.
Re: Support document upload?
Posted: Wed Jun 30, 2010 4:13 am
by steven
Howard
At this point we haven't planned for it, we're focusing on data management, not so much document management.
I agree it would be handy, so If you can come up with something simple, we might be able to incorporate it.
P.S. Sorry about taking so long to get back to you. We had some problems with admin settings.
Steven
Re: Support document upload?
Posted: Wed Jun 30, 2010 3:27 pm
by cypherinfo
Hello,
as you may see at page number four:
http://site.igv.cnr.it/home/index.php?o ... 61&lang=en
thanks to my choice, we'll use nuBuilder as our web interface for data bases belonging to the following research project:
http://www.mblabproject.it/mblab/index. ... ative.html
About document uploading, we need a way, integrated in nuBuilder, to upload a file of this kind: see attached image (the yellow colour stand for the data to fill the first field of an already existing table, the blue underlines the second field content and the red the third one; the next ">" show the starting point of a new record); a text file where a record is maked up of some lines separated by characters defined by the user.
A good start point may be: phpmyadmin (import feature), heidiSQL (it generates the MYSQL statement for importing the text file with its GUI; useful to set the upload parameters) or Toad applications (those three are free).
Thank you.
Cypherinfo.
Re: Support document upload?
Posted: Sat Feb 26, 2011 11:25 pm
by mateo
Hi cypherinfo!
I'm a newbie in web development but I am a hard worker, I just want to know if
you manage to include a sort of "fileupload button" in nuBuilder?
If yes, I am willing to learn step by step with your guidance if you don't mind.
I need the file upload feature in a simple project that I am working on.
Thank you very much,
Mateo
Re: Support document upload?
Posted: Sat Feb 26, 2011 11:55 pm
by cypherinfo
Hello,
thank you for your interest. To tell the truth the implementation of that feature is about a project was to be done in my workplace.
nuBuilder is a platform has (in my opinion) a long learning curve.
I mean you need to:
1 become acquainted with all the video tutorials from the first one till the one you need to implement that button;
2 since the nuBuilder devoloper team here is willing to implement a feature to upload the files to the target data base, it is better for all the nuBuilder community to send request of interest about the implementation directly to the team that is in this post;
3 anyway the idea would be to: a) generate the statement that do the thing; b) implement it by linking that statement to a button;
4 for detailed explanation and other requests please follow me at
http://www.twitter.com/cypherinfo @cypherinfo.
Bye.
Re: Support document upload?
Posted: Tue Mar 01, 2011 12:02 am
by admin
Mateo,
There is now an object in nuBuilder called 'File'.
This will allow you to upload a file (eg. doc, txt, xls, pdf) to a mysql table.
Saving it is easy, getting it out of the database is a bit trickier but for more help have a look at these bits in the wiki.
http://wiki.nubuilder.com/tiki-index.ph ... nIt_pCode_
and
http://wiki.nubuilder.com/tiki-index.ph ... uilderDocs
Regards
Steven
Re: Support document upload?
Posted: Thu Apr 19, 2012 10:00 pm
by Carsten
Subform.png
Hello,
I know this is an old thread, but I could't find any direct answer to the mentioned problem in and around this forum.
Actually I have the same problem: Uploading a file (PDF) and displaying it later. My "object file" is working fine so far but I am not able to retrieve the file afterwards, because I am not that familiar with java and php as programmers might be. The hints given to additional JavaScript code seem to be rather cryptic and I even don't know for sure, which part of it to add to what configuration field.
Perhaps the easyest way to handel this difficulty ist to provide for an example "file object" in the demo installation, including a way of displaying the stored file.
Displaying stored files should made easy, because this is an essential feature and nuBuilder is a tool for all those people who are no code programmers but still want to create custom solutions for productive - often unpayed - purposes and comunities.
Additionally I encountered another problem where I need some advise: For some reason the subform I created for the "file object" does not expand to a reasonable width. Instead the fildes of a row are stackt in vertical order. Please see the attached screenshots for details.
How do I create a decent subform mit standard layout where I can store my pdf-files and display them afterwards?
Thanks in advance,
Carsten
Re: Support document upload?
Posted: Mon Apr 23, 2012 8:05 am
by cypherinfo
Hello, I'm touched by your work!

Re: Support document upload?
Posted: Mon Apr 23, 2012 9:30 am
by admin
Carsten,
Maybe this will help..
Untitled.png
You can cut and paste this from the wiki..
http://wiki.nubuilder.com/tiki-index.ph ... uilderDocs
Steven