diff --git a/Documentation/Exceptions/1480765571.rst b/Documentation/Exceptions/1480765571.rst index a1fb4a74..18ccde3c 100644 --- a/Documentation/Exceptions/1480765571.rst +++ b/Documentation/Exceptions/1480765571.rst @@ -47,3 +47,24 @@ but forget the prefix `FILE:`: 'FILE:EXT:my_extension/Configuration/FlexForms/MyFlexForm.xml', 'myextension_textpic' ); + +Mismatching name of the FlexForm file (TYPO3 14.3.5) +==================================================== + +This exception is thrown if no file exists at the configured path. The file name +is case-sensitive and must match exactly, in this example +:file:`flexform_ds_plugin.xml`: + +.. code-block:: php + :caption: EXT:my_extension/Configuration/TCA/Overrides/tt_content.php + :linenos: + :emphasize-lines: 6 + + use TYPO3\CMS\Core\Utility\ExtensionManagementUtility; + + $extensionKey = 'my_extension'; + ExtensionManagementUtility::addPiFlexFormValue( + '*', + 'FILE:EXT:' . $extensionKey . '/Configuration/FlexForms/flexform_ds_plugin.xml', + $pluginSignature, + );