Upload Image to server

Upload Image to server

Hi all.

I'm a newbie to outsystems, and i'm trying to build my first application with this platform. I'm building a workers management application, and i have a table for workers [Workers]. I created another table for relating photos with workers  [WorkersPhotos]. The table attribute to hold the image is set to binary. Now what i need to know, is what i have to do to upload an image to the database.

My best regards,

Rui Lopes
Hi Rui,

welcome to our network.

In attach you can see how to add a file to the database. This is a simple example, and you should add logic to it so you can update the worker's photo.

Hi Ricardo.

Thanks for the info. I'm gonna check it, and see if i can manage it. If i got more doubts i'll ask again! ;)


Rui Lopes