Comments (1)
I looked at this some more, in the description
Other properties also apply to flex form fields, in this case the full property path including the data structure key has to be set: TCEFORM.[tableName].[fieldName].[dataStructureKey].[flexSheet].[flexFieldName].[propertyName]. The [dataStructureKey] represents the key of a FlexForm in $GLOBALS['TCA'][]['columns'][]['config']['ds']. This key will be split into up to two parts.
By default the first part will be used as identifier of the FlexForm in TSconfig.
The second part will override the identifier if it is not empty, list or *.
For example the identifier of the key my_ext_pi1,list will be my_ext_pi1 and of the key *,my_CType it will be my_CType.
https://docs.typo3.org/m/typo3/reference-tsconfig/main/en-us/PageTsconfig/TceForm.html#additems
So, we can look in $GLOBALS['TCA'][<tableName>]['columns'][<field>]['config']['ds']
for the key, but from what I checked it should be myext_pi1, not my_ext_pi1.
Test with sf_register and TYPO3 v12:
TCA: tt_content.columns.pi_flexform.config.ds:
sfregister_create,list = FILE:EXT:sf_register/Configuration/FlexForms/create.xml
has no underscore in extkey (sfregister instead of sf_register_create).
Page TSconfig works without the underscore:
# is added to list
TCEFORM.tt_content.pi_flexform.sfregister_create.sDEF.settings\.fields\.selected.addItems.ZZZ = ZZZ
TCEFORM.tt_content.pi_flexform.sfregister_create.sDEF.settings\.fields\.selected.addItems.AAA = AAA
```![image](https://github.com/TYPO3-Documentation/TYPO3CMS-Reference-TSconfig/assets/13206455/fafaabda-6afa-406d-a9dc-435c3b6c330a)
from typo3cms-reference-tsconfig.
Related Issues (20)
- Update RTE page
- Add information for clearCacheCmd HOT 3
- Rename Includes.txt to Includes.rst.txt
- Index all pages
- Break up page TSconfig mod
- Remove defaultLanguageFlag etc HOT 2
- Break up TCEform
- Changed condition syntax; Conditions in TSconfig HOT 4
- Documentation claims TCEFORM.[table].[field].disabled renders as readOnly, but actually does not render. HOT 1
- Usage of settings from site configuration YAML file in Page TSconfig HOT 1
- I miss all these PAGE_TSCONFIG_ID, PAGE_TSCONFIG_IDLIST markers HOT 5
- Fix links to Page and User TSconfig
- Backward compatible global TSconfig doesn't work HOT 3
- Unclear how the RTE (and other properties) are nested
- The example about Default page TSconfig does not apply to TYPO3 11
- Missing RTE configuration HOT 19
- TSFE is missing in Page TSconfig reference after v9 HOT 2
- Overriding flexform uses a fieldname with no dots, should point out dots need escaping with backslash
- For a number of options in TCEMAIN (disableHideAtCopy, disablePrependAtCopy) it is possible to use "default" instead of table HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typo3cms-reference-tsconfig.