Enabling the Custom Field Module
This module requires at least Broadleaf 4.0.0-GA
Steps to enable this module
Step 1. Add the following to the depedency management section of your parent pom.xml
:
<dependency>
<groupId>com.broadleafcommerce</groupId>
<artifactId>broadleaf-custom-field</artifactId>
<version>1.2.0-GA</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
Step 2. Pull this depedency into your core/pom.xml
:
<dependency>
<groupId>com.broadleafcommerce</groupId>
<artifactId>broadleaf-custom-field</artifactId>
</dependency>
Step 3. To enable security configurations in the Broadleaf admin, you will need to load new permissions. The recommended changes are located in the following files:
/config/bc/sql/load_custom_field_admin_security.sql
Note: In development, you can automatically load this SQL by adding this file to the blPU.hibernate.hbm2ddl.import_files property in the development-shared.properties file.