Advanced metadata for File
During the Hannover Active Contributor Team meeting, it has been decided the Core will ship advanced metadata for sys_file. This is going to be packed within a Core extension which will not be activated by default. The extension is to be activated when advanced metadata are required.
The main benefit of this approach is to have unified metadata in TYPO3. As a result, third-party extensions can build upon a common base preventing everyone comes up with each one set of metadata.
[FEATURE] Advanced metadata for File
The Core provides advanced metadata for File within a Core
extension "filemetadata". The extension is not activated
by default but can be when advanced metadata are needed.
The main benefit is to have unified metadata in TYPO3.
As a result, third-party extensions can build upon a common
base preventing segmentation.
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
#3 Updated by Fabien Udriot over 5 years ago
FYI, there are two documents that explain and justify the choices
#6 Updated by Fabien Udriot over 5 years ago
- Apply the patch
- Activate EXT:filemetadata
- Open File module and edit meta data (don't forget to enable "Extended view" because of #52835)
- In "sys_file_metadata" manually change field "type" with value 0,1,2,3,4,5 and see different TCEforms.
-> I had to add a field "type" at the level of sys_file_metadata too. This enable to load different set of metadata according to a file type. The field "sys_file_metadata.type" must be kept in sync with "sys_file.type" upon indexation. Perhaps it can be solved differently but I don't see how.