.. include:: /Includes.rst.txt .. _feature-94501-1669163526: =================================================== Feature: #94501 - FAL support for FlexFormProcessor =================================================== See :issue:`94501` Description =========== The :php:`FlexFormProcessor` is now able to resolve :abbr:`FAL (File Abstraction Layer)` references by its own. Each FlexForm field, which should be resolved, needs a reference definition to the :php:`foreign_match_fields`. This reference is later used in the :php:`FilesProcessor` to resolve the correct FAL resource. Example of an advanced TypoScript configuration, which processes the field :typoscript:`my_flexform_field`, resolves its FAL references and assigns the array to the :typoscript:`myOutputVariable` variable: .. code-block:: typoscript 10 = TYPO3\CMS\Frontend\DataProcessing\FlexFormProcessor 10 { fieldName = my_flexform_field references { my_flex_form_group.my_flex_form_field = my_field_reference } as = myOutputVariable } .. code-block:: xml file 9 file gif,jpg,jpeg,png,svg --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,--palette--;;filePalette --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,--palette--;;filePalette 64 64 1 0 1 0 1 1 LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference select 1 --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,--palette--;;filePalette jpg,png,svg,jpeg,gif Impact ====== FAL references within a FlexForm can now be resolved for the direct usage in Fluid templates. This makes resolving the file references by using additional data processors obsolete. .. index:: Frontend, FlexForm, TypoScript, ext:frontend