You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently files uploaded with the FileUpload Form Element always end up in the persistent resource collection.
For several reasons it would be nice to be able to specify a custom resource collection for the uploaded resources
The text was updated successfully, but these errors were encountered:
This feature extends the `FileUpload` Form element such that
the target Resource Collection can be configured.
This can be useful for example in order to prevent uploaded
files to end up in the public "persistent" collection:
Neos:
Flow:
resource:
targets:
'formUploadTarget':
target: 'Some\Package\SomeProtectedResourceTarget'
collections:
'formUploads':
storage: 'defaultPersistentResourcesStorage'
target: 'formUploadTarget'
Form:
presets:
'default':
formElementTypes:
'Neos.Form:FileUpload':
properties:
# use our custom resource collection for all "FileUpload" form elements
resourceCollection: 'formUploads'
# Prevent preview link to be created in order to avoid publishing of the Presistent Resource
createLinkToFilePreview: false
Thanks to internezzo ag for sponsoring this feature!
Resolves: #114
Currently files uploaded with the
FileUpload
Form Element always end up in thepersistent
resource collection.For several reasons it would be nice to be able to specify a custom resource collection for the uploaded resources
The text was updated successfully, but these errors were encountered: