cancel
Showing results for 
Search instead for 
Did you mean: 

Image in form

butik
Champ in-the-making
Champ in-the-making
Hello,
I have to implement process with start form on which user should be able to select image(image should be stored in activiti).
Second step should display image selected on first step.
I have checked custom types for Activit, question is how images will be stored in activiti? as base64 string? is it possible to store it as blob?

Thanks in advance,
Paul
2 REPLIES 2

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Paul,

bytearray or serializable type can be stored in ACT_GE_BYTEARRAY table.

If you want to serialize image in your own way, you can extend activiti engine.

Regards
Martin

butik
Champ in-the-making
Champ in-the-making
Hi Martin,
Thanks for reply.
have created ImageFormPropertyRenderer and ImageFormType with bytearray, images stored in ACT_GE_BYTEARRAY.