Page 1 of 1

user manual file object

Posted: Tue Mar 20, 2018 10:47 am
by johan
Hi

Does anyone have a manual on how I have to upload a file, view this file in the editform and download it from the database?
If I upload now, I see the file only in zzzzsys_file, not in the table of my form.

Johan

Re: user manual file object

Posted: Tue Mar 20, 2018 1:48 pm
by tonyd
Check out this post https://forums.nubuilder.cloud/viewtopic. ... 377#p16323

This will show you the code used in nuBuilder to save and view files under the "Files" button. You can use this code (slightly modified of course) in your form's custom JavaScript. This should get you going in the right direction.

Re: user manual file object

Posted: Wed Mar 21, 2018 9:00 am
by toms
johan wrote: Does anyone have a manual on how I have to upload a file, view this file in the editform and download it from the database?
What type of files do you want to upload? I just want to draw your attention to the fact that nuBuilder's file object is not suitable for uploading large files to the database.

Re: user manual file object

Posted: Wed Mar 21, 2018 6:41 pm
by johan
Toms
My files are pdf or odt.
Is there an other solution to attach files to a form?

Re: user manual file object

Posted: Wed Mar 21, 2018 11:59 pm
by admin
Johan,

You would be best using a third party product like DropBox.

In the near future, we will provide some tips on how to in a video.

Steven

Re: user manual file object

Posted: Fri Dec 28, 2018 3:10 pm
by johan
Steven
Do you already have some tips for this issue?
How can I upload / download files to my own server using NuBuilder?
Johan

Re: user manual file object

Posted: Fri Dec 28, 2018 4:48 pm
by kev1n
Johan,

Use Ajax & PHP as suggested here:
https://forums.nubuilder.cloud/viewtopic. ... lit=upload

Re: user manual file object

Posted: Mon Dec 31, 2018 7:15 am
by johan
Kevin
Thanks, I'll take a look at that.
Johan