14
Views
3
Comments
Upload Image

i am using  reactive web application  

how can upload photo than saving it in Entity (Employee picture)


Rank: #88

hi Andrew,

Take one attribute (Employee) in Entity as BinaryData .

and on UI take on upload widget and pass this binary data in this attribute using CreateOrUpdate entity action.

Find attched oml it will help you.


Regards

Rahul

TestForm.oml

Champion
Rank: #99

Hi,


you can use the upload widget for that:

Than, create a button or a link associated to an action that will save your photo in the db:


(Those prints are examples)

Hope this can help.


Best regards,

Ricardo M Pereira