File Upload and Download PDF

Questions related to using nuBuilder Forte.

File Upload and Download PDF

Postby tovidiu » Sat Feb 03, 2018 10:42 am

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
tovidiu
 
Posts: 17
Joined: Sun Jan 07, 2018 2:15 am

Re: File Upload and Download PDF

Postby toms » Sat Feb 03, 2018 3:34 pm

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';
toms
 

Re: File Upload and Download PDF

Postby admin » Sat Feb 03, 2018 4:40 pm

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
admin
Site Admin
 
Posts: 3309
Joined: Mon Jun 15, 2009 9:53 am

Re: File Upload and Download PDF

Postby tovidiu » Sat Feb 17, 2018 6:47 am

Before deciding how to proceed I want to know how to create a button to print the file or download it.
thank you
Ovidiu
tovidiu
 
Posts: 17
Joined: Sun Jan 07, 2018 2:15 am

Re: File Upload and Download PDF

Postby admin » Sat Feb 17, 2018 7:44 am

Ovidiu,

If you want to print a PDF, simply right click on it.

print_pdf2.png
print_pdf2.png (10.29 KiB) Viewed 892 times


If you want to create a Report with an image in it...

image_report2.PNG
image_report2.PNG (31.25 KiB) Viewed 892 times


http://wiki.nubuilder.net/nubuilderforte/index.php/Report_Designer#Object_Properties



Steven
admin
Site Admin
 
Posts: 3309
Joined: Mon Jun 15, 2009 9:53 am


Return to General