Hello everyone,Is there a way to save a downloaded file into database?Thank you!
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?
Hi,
Instead of saving after download, we can store exact file in DB By using CreateEntity() Action.
Hi A L L Y
you can save the file in DB by using Entity actions.
which type of file you want to save?
Hi A L L Y,
yes, you can save the downloaded file to database in binary format using entity createorupdate action.
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
Hello @Joao Azevedo,Do you have file for your example? Sorry, I'm a little bit confused on your answer?Thanks!
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.
ThanksTousif Khan
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