Custom FileUpload
Is it possible to "fake" the underlying file for FileUpload field? I am connecting with external API and get the file in base64 format.
I am saving the file to the temporary disk so I think I should be able to provide the path to the file no problem.
I've found getUploadedFileUsing method on FileUpload but it does not seem to fire. Has anyone tried something similar?
Solution:Jump to solution
If anyone is interested, what I end up doing is a custom component with setUp method overriden like that:
```<?php
class CustomFileUpload extends FileUpload...
1 Reply
Solution
If anyone is interested, what I end up doing is a custom component with setUp method overriden like that: