You can create custom field types to group multiple fields together into a single complex field.
To create individual custom fields, see Add Custom Fields.
Create a custom field
- Navigate to Knowledge Graph > Configuration and click the Field Types tile.
-
Click Add Custom Field Type.
-
Enter the basic information for your custom field type.
- Field Type Name
- API Name: this will be automatically set based on the name, but you can modify it if desired.
-
Type Description (optional)
- Field Type Name
- If you're using alternate language profiles, add translations to your custom entity type. Click Add translation on the Name or Description setting.
- Choose your desired language and enter the translated value. Click Save or Save & Add Another to add another translation to the same setting.
- Add the individual fields that will make up your new field type. To start, click Add a subfield.
- Enter the settings for your subfield.
- Subfield type: choose the type of subfield you want to add. Depending on your chosen field type, you may see slightly different settings.
- Subfield label: enter a label for the subfield. Add translations if desired.
- Validation: set validation rules such as a minimum or maximum character count, or other accepted content in the subfield.
- Settings: choose whether this subfield should be required when populating your custom field, and whether this subfield has list options.
- Click Add a subfield to add any other subfields.
- Click the trash can icon on a subfield to remove it.
- Click Save at the bottom of the screen to save your custom field type.