Magnolia 6.0 reached end of life on June 26, 2019. This branch is no longer supported, see End-of-life policy.
Reference a field by its name
Instead of defining the type of a field using the class
property, you can reference the type using the fieldType
property, which takes the field's short and easy-to-remember alias name as the value.
For example, use fieldType: text
instead of class: info.magnolia.ui.form.field.definition.TextFieldDefinition
.
To view the field alias names, look in the Definitions app. See also Referencing fields.