TYPO3 - May I include FlexForm XML file like nested?

251 Views Asked by At

Is there a solution to include XML file into T3DataStructure, like nested tabs? This is what i have tried but didn't works.

What I want is, when I press Add Links button, to get Link.xml file structure shown, that i can input content in that fields.

<link>
<section>1</section>
<type>array</type>
<title>Include Link.XML</title>
<el>
    <container>
        <title>Links</title>
        <type>array</type>
        <el>
            <includeLinks>
                <label>Add Link</label>
                <config>
                    <ds>
                        <default>FILE:EXT:theme/Configuration/FlexForms/Content/Link.xml</default>
                    </ds>
                </config>
            </includeLinks>
        </el>
    </container>
</el>
1

There are 1 best solutions below

3
Jo Hasenau On

I guess what you are looking for is something like inline relational record editing aka IRRE for FlexForms. This is called sections and you can find an example here:

https://docs.typo3.org/m/typo3/reference-tca/main/en-us/ColumnsConfig/Type/Flex/Examples.html?highlight=section#a-flex-form-field-with-two-flex-section-containers