Skip to content

Latest commit

 

History

History
82 lines (59 loc) · 2.53 KB

content-type-editor-config.rst

File metadata and controls

82 lines (59 loc) · 2.53 KB
is-up-to-date:True
last-updated:4.0.0

Content Type Editor Config

The Content Type Editor Config configuration file defines what tools are available in the Content Type Editor. This configuration is unique in that a configuration file exists in the following location of each project: SITENAME/config/studio/administration/site-config-tools.xml

Content Type Editor Config


To modify the Content Type Editor Config configuration, click on |projectTools| from the bottom of the Sidebar, then click on Configuration and select Content Type Editor Config from the list.

Configurations - Open Content Type Editor Config Tools


Sample

Here is a sample Content Type Editor Config configuration file (click on the triangle on the left to expand/collapse):

Sample Content Type Editor Config configuration file
.. rli:: https://raw.githubusercontent.com/craftercms/studio/develop/src/main/webapp/repo-bootstrap/global/configuration/samples/sample-site-config-tools.xml
   :caption: *CRAFTER_HOME/data/repos/sites/SITENAME/sandbox/config/studio/administration/site-config-tools.xml*
   :language: xml
   :linenos:



Description

Content Type Specific tool configuration

/config/tools/tool/controls
List of available content type form controls
/config/tools/tool/controls/control
Control name (JavaScript control module name)
/config/tools/tool/datasources
List of available datasources for content type form controls
/config/tools/tool/datasources/datasource
Datasource name (JavaScript datasource module name)
/config/tools/tool/objectTypes
List of available object types
/config/tools/tool/objectTypes/type
Type configuration (Page or Component) - name, label, properties

List of available content type form controls

List of available content type data sources