You are viewing limited content. For full access, please sign in.

Question

Question

how to save the image uploaded through laserfiche form in SQL Database

asked on July 17, 2017 • Show version history

I want to know what are the possible options to save an image that is uploaded through laserfiche form as a byte array in SQL Database.

 

Thanks

0 0

Replies

replied on July 17, 2017

Hi Vineela,

This should be possible by passing the Forms business process variables to Workflow and using a combination of script + query activities. This article:

https://stackoverflow.com/questions/25400555/save-and-retrieve-image-binary-from-sql-server-using-entity-framework-6

has a good explanation of using a C# script (which can be added to WF via the "Script" activity) to convert the image to a byte[] type. Once that's done, you should be able to save it to the DB and convert it back again when required.

I might be missing something but this sounds possible in theory.

Good luck,

Rob

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.