.. include:: /Includes.rst.txt .. index:: TCAdefaults Records; Default values .. _pageTsTcaDefaults: =========== TCAdefaults =========== This allows to set or override the `default` values of `TCA` fields that is available for various TCA types, for instance for :ref:`type=input `. The full path of a setting include the table and the field name: `TCAdefaults.[table name].[field]` This key is also available on :ref:`User TSconfig level `, the order of default values when creating new records in the backend is this: #. Value from `$GLOBALS['TCA']` #. Value from :ref:`user TSconfig ` #. Value from page TSconfig (these settings) #. Value from "defVals" GET variables #. Value from previous record based on :ref:`useColumnsForDefaultValues ` .. note:: `TCAdefaults` is not applied to :ref:`FlexForm ` values. These can only be addressed via :xml:`` elements within the FlexForm data structure. .. _pageTsTcaDefaults-example: Example: Do not hide newly created pages by default =================================================== .. code-block:: typoscript :caption: EXT:site_package/Configuration/page.tsconfig TCAdefaults.pages.hidden = 0