Created
December 19, 2024 20:28
-
-
Save christophlehmann/4457901ba8edc43ea9152ca37d466c34 to your computer and use it in GitHub Desktop.
Dynamic storage folder with TYPO3 SaveToDatabase Finisher
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prototypes: | |
standard: | |
formElementsDefinition: | |
Form: | |
formEditor: | |
propertyCollections: | |
finishers: | |
# SaveToDatabase | |
80: | |
editors: | |
# Define new property and see it in the | |
1733437328: | |
identifier: pid | |
templateName: Inspector-TextEditor | |
label: 'Storage Folder (Page id)' | |
propertyPath: options.databaseColumnMappings.pid.value | |
# Show new option in Form Plugin (when overwrite finisher configuration enabled) | |
finishersDefinition: | |
SaveToDatabase: | |
FormEngine: | |
label: 'Storage Folder' | |
elements: | |
databaseColumnMappings: | |
pid: | |
value: | |
label: 'Storage Folder (Page id)' | |
config: | |
type: group | |
allowed: pages | |
size: 1 | |
maxitems: 1 | |
fieldWizard: | |
recordsOverview: | |
disabled: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment