Welcome to the nuBuilder Forums!

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

File Upload and Download PDF

Questions related to using nuBuilder Forte.
Post Reply
tovidiu
Posts: 17
Joined: Sat Jan 06, 2018 5:45 pm

File Upload and Download PDF

Unread post by tovidiu »

how to create a upload button to store a pdf file and a button to download it.
I have a table to which I have to attach a pdf file to each row.
thank you
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: File Upload and Download PDF

Unread post by toms »

tovidiu,

Check out how it's done here: "Home ► (Stored) Files". This should help you get started.

To get access to the code of the form, run this query in your database:

Code: Select all

UPDATE `zzzzsys_setup` SET `set_denied` = '0';
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: File Upload and Download PDF

Unread post by admin »

tovidiu,

I have made a change that will allow you to save and view PDFs in Files.

You will need to get the latest from Github and run Update.

To see how you can make it work elsewhere, you can to as toms suggested.

Let us know how you go with it.

Steven
tovidiu
Posts: 17
Joined: Sat Jan 06, 2018 5:45 pm

Re: File Upload and Download PDF

Unread post by tovidiu »

Before deciding how to proceed I want to know how to create a button to print the file or download it.
thank you
Ovidiu
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: File Upload and Download PDF

Unread post by admin »

Ovidiu,

If you want to print a PDF, simply right click on it.
print_pdf2.png
If you want to create a Report with an image in it...
image_report2.PNG
http://wiki.nubuilder.net/nubuilderfort ... Properties



Steven
You do not have the required permissions to view the files attached to this post.
Post Reply