File Upload directly to DB in Perspective

Is it possible to use the file upload component to store an image in a database? I want to
convert the image via event.file.getBytes() store it then retrieve and convert this image back when I need it.

Sure, just implement the onFileReceived event, then from that script run the requisite system.db function to inserts the bytes into the database.

Thank you! That worked.,

1 Like