Skip over navigation
Documentation
You are currently viewing documentation for a previously released version of OroCRM. See the latest long-term support version.

Entity Field Properties

The creation of an entity field takes two steps. In step 1, you specify just the very basic properties: name, field type and field storage type. In step 2, you specify more advanced properties, some of which can be field-type-related.

Basic Entity Field Properties

General Information Section


../../../_images/new_entity_field.png

FieldDescription
Field Name

Mandatory. Type a name of the field that will be used to refer to it in the system.

This name must be unique within an entity. It cannot be a reserved SQL word , nor a reserved PHP word.

Storage Type

Mandatory. Select how the field is stored in the system. There are two options:

  • Serialized field—Use this storage type for simple fields that keep information necessary for a single entity. The field will appear in the system as soon as it has been added and no schema update is required.

    Important

    Serialized fields cannot be used for grid filters, for report and chart generation, for data audit, for creation of segments and relations.

    Serialized fields cannot be used for files, multi-selects or option sets.

  • Table column—Store field values to a database table. If this option is selected, the field can be used without the limitations applicable to a serialized field. For this type of fields a schema update is required.

Type

Mandatory. Select a field type from the list.

The following types are available:

  • Fields
    • BigInt
    • Boolean
    • Currency
    • Date
    • DataTime
    • Decimal
    • File
    • Float
    • Image
    • Integer
    • Multi-Select
    • Percent
    • Select
    • SmallInt
    • String
    • Text
  • Relations—Relation is a field that enables you to tie record(s) of one entity to record(s) of another entity. For example each customer has an account, and each account can be assigned several contacts.
    • Many to many
    • Many to one
    • One to many

For the help on selection the field that is right for your purposes, see the Entity Field Types guide.

Advanced Entity Field Properties

Properties that can be defined may vary subject to the chosen field type.

The following sections provide descriptions of common properties (they are applicable to most of the types), and peculiarities of specific types.

Common Properties

General Information Section


../../../_images/entity_field_general_information2.png

Fields Name, Storage Type, Type that you filled in when specifying information for basic entity field properties (see the Basic Entity Field Properties section) are still present on the page but they are read-only now, i.e you cannot change their values.

There are two new fields in this section:

FieldDescription
LabelMandatory. Type a label that will be used for referring to the field on the interface. By default, the label is the same as Name.
DescriptionType a short but meaningful description that will appear as a field tooltip on the interface.

Import and Export Section


../../../_images/entity_field_import_and_export.png

FieldDescription
Column NameType a name that will be used for identifying the field in the .csv file with entity records. If left empty, the Label value will be used for identifying the field when you export entity records.
Column PositionType a number that corresponds to the position of this field in the .csv file that contains entity records.
  
Exclude Column
  • No—Select this value if you want this field to be available for export.
  • Yes—Select this value if you do not want this field to be available for export (this field will not be present in the .csv file obtained as a result of the export operation).

Other


../../../_images/entity_field_other.png

OptionDescription
Available in Email TemplatesIf this option is set to Yes, values of the field can be used for creating email patterns.
Contact Information

Possible values are:

  • Empty—The field will not be treated as a contact information.
  • Email—Values of the field will be treated by marketing lists as email addresses.
  • Phone—Values of the field will be treated by marketing lists as phone numbers.
Show on GridIf set to Yes, the field will be displayed in a separate column of the respective grid.
Show Grid FilterNot available for serialized fields. If set to Yes, a corresponding filter will be added to grid filters by default.
Show on FormIf set to Yes, the field value appears as editable on record edit pages.
Show on ViewIf set to Yes, the field is displayed on record view pages.
Priority

Defines an order of custom fields on entity record view, edit, and create pages, and on the respective grid.

Custom fields are always displayed one after another, usually below the system fields. If no priority is defined or the defined priority is 0, the fields will be displayed in the order in which they have been added to the system. The fields with a higher priority (a bigger value) will be displayed before the fields with a lower priority.

SearchableIf set to Yes, the entities can be found with OroCRM’s search functionality by values of this field.
The Search Result TitleIf set to Yes, the field value will be included into the search result title.
AuditableNot available for serialized fields. If set to Yes, the system will log changes made to this field values when users edit entity records.
Applicable Organizations

Defines for what organizations the custom field will be added to the entity.

All is selected by default. Clear the All check box to choose specific organizations from the list.

Caution

If the Show on Form value has been set to No, there will be no way to create/update the field values from OroCRM. Thus, such configuration is reasonable only for data which is uploaded to the system during a synchronization.

Browse maintained versions:2.62.32.01.12
Forums
Back to top