attach file to store into database function?

Hi all,

Is there a way I can create an icon, where when the user clicks, it’ll open file explorer, and the user can chose a file to store into the database (say a word file or a pdf file?) And ability to download it back out?

i’m hoping servoy has that function? If so, can someone point me in the right direction?

Hi Sammy,
Here’s a small solution with 2 scripts:
saveDocToDatabase
openDocFromDatabase.

Can also be used for other file types besides pdf.

btw: this solution has been exported with servoy 3.0

openPdf.servoy (5 KB)

There is also an extensive document management example in our download section:
http://www.servoy.com/generic.jsp?mt=39 … omy_id=594

It works both in 2.2.x and 3

jaleman:
There is also an extensive document management example in our download section:
http://www.servoy.com/generic.jsp?mt=39 … omy_id=594

It works both in 2.2.x and 3

Wow, the document management module is great! good work guys!