184
Views
2
Comments
Upload a pdf file
Question

Hello, Im trying to upload a pdf file but I dont understand where I am supposed to save it , would appreciate it if you had some suggestions and how to implement them!
Thanks in advance


When I click to upload a file it replaces the name but it doesnt store it anywhere probably because its a local variable?

2022-10-28 13-20-46
Pedro Rodrigues

I'm not sure, but I think this answer on another post   can help you

I'm not sure what to do so I don't want to misguide you

2022-07-03 17-24-08
Sourabh sharma

Hi @Afonso Santos 

I got you that you are trying to upload the PDF,Xlsx file in database aslo when you want to save thier file name should save in data base. if yes !! make one Entity where you make two attributes like File content (binary datatype) and file Name (text). like this.. and pass those value in UploadFile Widget.

Try here!!

OML is also given 


Kind regards

Sourabh Sharma


DIGIDOCS.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.