75
Views
8
Comments
Save download file to database?
Question

Hello everyone,

Is there a way to save a downloaded file into database?

Thank you!

2024-12-02 12-15-17
Aravind EONE

Hi A L L Y,
You can save the file as binary in database before the download.
Why you need to save the downloaded file?

2024-01-09 08-05-30
Dipali Shrawane

Hi, 

Instead of saving after download, we can store exact file in DB By using CreateEntity() Action.

2024-09-27 19-05-42
Ravi Kumar Tasubilli

Hi A L L Y

you can save the file in DB by using Entity actions.

which type of file you want to save?

2023-05-08 05-34-05
Piyali Saha

Hi A L L Y, 

yes, you can save the downloaded file to database in binary format using entity createorupdate action.

2023-02-15 15-42-08
Joao Azevedo

Hi @A L L Y
You should create a logic action with CreateEntity() action, and then, use it before the action where you have the donwload functionality like  this:


I hope this helps

print1.png
print2.png
2023-06-27 05-52-18
A L L Y

Hello @Joao Azevedo,

Do you have file for your example? Sorry, I'm a little bit confused on your answer?

Thanks!

2023-10-21 19-42-11
Tousif Khan
Champion

Hello @A L L Y 

Some information that can help to understand the problem statement correctly,
What you have achieved so far?
How you are getting the data to your Table that was shown in the above picture?
Have you created a data model for saving the file?

More detail on what you want to achieve will lead to more clarity rather than assumption.

Thanks
Tousif Khan



2021-03-05 13-56-11
Ricardo Pereira
 
MVP

Hi A L L Y,

Like everyone wrote, yes, it's possible and you have some proposals how to make it in responses before mine. Just a note above that: don't forget to follow the best practices. "Store binary and large text attributes in their respective separate entities." referenced in:

https://success.outsystems.com/documentation/best_practices/performance_and_monitoring/performance_best_practices_data_model/

This can avoid future performance problems.

Hope this can help you.


Best regards,

Ricardo

 

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