I need to manage a collection, supporting all CRUD operations. The collection has an image field to which I’d like to be able to upload during the record creation operation. The file upload button seems to require that I associate the form with a dataset, so I created a dynamic page and associated the input fields with the dataset. When I preview the page and hit the Submit button I get the error “save operation failed: DatasetError: Operation (save) not allowed on an unconfigured dataset”. I messed around for a bit but seem to always get this error.
Can you create new records in a database using a dynamic page? Do you need to use a dataset when uploading a file to a database? Has somebody done this sort of thing before? I’d really appreciate if you can point me at sample code or docs.