We upload images into the database with this code :
<td><input type=file size=200 name=FileStream></td>
s FileName = ##class(%File).GetFilename(FullFilename)
s ItemImage.FileName = FileName
s ItemImage.fileSize = %request.MimeData("FileStream",1).Size
The need is now to be able to copy a document (example as attached in an email) and paste to be saved into the ItemImage.Image
Has anyone done something like this ?