.. include:: /Includes.rst.txt ========================== TYPO3 Exception 1480765571 ========================== .. include:: /If-you-encounter-this-exception.rst.txt Data structure identifier must be set, typically by executing TcaFlexPrepare ============================================================================ If you encounter this error during :ref:`FlexForm ` integration: .. code-block:: text Data structure identifier must be set, typically by executing TcaFlexPrepare data provider before it means that your FlexForm's XML structure is defective (broken, has errors, does not parse properly). Missing prefix "FILE:" ====================== It occurs, for example, when you try to add a FlexForm file to a CE or plugin, but forget the prefix `FILE:`: .. code-block:: php :caption: EXT:my_extension/Configuration/TCA/Overrides/tt_content.php :linenos: :emphasize-lines: 6, 15 /** * WRONG WAY to add a FlexForm file to a content element */ \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue( '*', 'EXT:my_extension/Resources/Private/FlexForm/MyFlexForm.xml', 'textpic' ); /** * CORRECT WAY to add a FlexForm file to a content element */ \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue( '*', 'FILE:EXT:my_extension/Resources/Private/FlexForm/MyFlexForm.xml', 'textpic' );