Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Support document upload?

ngkung
Posts: 1
Joined: Wed May 26, 2010 3:52 am

Support document upload?

Unread post 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
cypherinfo
Posts: 125
Joined: Thu Feb 18, 2010 5:42 pm
Contact:

Re: Support document upload?

Unread post 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.
steven
Posts: 370
Joined: Mon Jun 15, 2009 10:03 am
Has thanked: 53 times
Been thanked: 52 times

Re: Support document upload?

Unread post 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
A short post is a good post.
cypherinfo
Posts: 125
Joined: Thu Feb 18, 2010 5:42 pm
Contact:

Re: Support document upload?

Unread post 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.
You do not have the required permissions to view the files attached to this post.
mateo
Posts: 10
Joined: Thu Feb 17, 2011 3:53 pm

Re: Support document upload?

Unread post 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
cypherinfo
Posts: 125
Joined: Thu Feb 18, 2010 5:42 pm
Contact:

Re: Support document upload?

Unread post 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.
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Support document upload?

Unread post 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
Carsten
Posts: 1
Joined: Sat Apr 14, 2012 10:29 pm

Re: Support document upload?

Unread post 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
You do not have the required permissions to view the files attached to this post.
cypherinfo
Posts: 125
Joined: Thu Feb 18, 2010 5:42 pm
Contact:

Re: Support document upload?

Unread post by cypherinfo »

Hello, I'm touched by your work! :)
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Support document upload?

Unread post 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
You do not have the required permissions to view the files attached to this post.
Locked