Is it possible to upload a file and store it in a record in the database? I have tried adding a Binary attribute in the metaobject, but cannot add this field to a form. I have tried adding an Image uploader to a form, but cannot seem to bind it to anything. Do you have any sample modules that include this functionality?
asked
David Sanders
2 answers
7
You can do this by letting your object inherit from System.FileDocument (or use it directly) and using a File manager widget.