I would like users to upload a media to a mediaset, but I would like to fetch the filename on the fly to create an object or display it in the Workshop UI until it get processed.
How can I get the filename of a media uploaded (currently, via the media uploader Widget) in Workshop ?
The best way to do this would be to write a function that accesses the metadata of the media item, and then retrieves the path (ie. the filename). You could do this in a variable, which you then pass to an action when creating the object.
However, the recommended approach here would be to use a function-backed action. This would allow a user to upload a file using the file picker interface, and then the function will then run using this uploaded file. This feature is currently still in progress, but should be available by next week