The default forms configuration is specified in the ./tomcat/webapps/share/WEB-INF/classes/alfresco/share-form-config.xml file. This file contains all the default controls and constraint handlers for the content model and the form configuration for the cm:content and cm:folder types. This file also contains an example of configuring the cm:content type.
There are a number of files involved in form configuration, but generally you should add your configurations to a custom configuration file. The default configuration files are listed here so that you can see the range of configurations available:
File | Description |
---|---|
form-config.xml | Default form configuration file |
share-form-config.xml | Default forms for content and folder creation, edit and search |
share-datalist-form-config.xml | Forms for the built-in datalists |
share-workflow-form-config.xml | Core workflow forms and built-in workflows |
- Open the ./tomcat/shared/classes/alfresco/<web-extension>/share-config-custom.xml file.
- Modify the forms configuration settings using the XML configuration syntax.