Add standard fields directly to a schema

You can add fields from standard field groups directly to a schema without needing to know their corresponding field group beforehand. To add a standard field to a schema, select the plus (+) icon next to the schema’s name in the canvas. An Untitled Field placeholder appears in the schema structure and the right rail updates to reveal controls to configure the field.

The Schema Editor with a root field placeholder highlighted.

Under Field name, start typing the name of the field you wish to add. The system automatically searches for standard fields that match the query and lists them under Recommended Standard Fields, including the field groups that they belong to.

The Field name highlighted and a list of recommended standard fields displayed within the field properties of the Schema Editor.

While some standard fields share the same name, their structure may vary depending on the field group they come from. If a standard field is nested within a parent object in the field group structure, the parent field will also be included in the schema if the child field is added.

Select the preview icon ( Preview icon ) next to a standard field to view the structure of its field group and better understand how it might be nested. To add the standard field to the schema, select the plus icon ( Plus icon ).

The add icon highlighted on an item of the suggested standard fields.

The canvas updates to show the standard field added to the schema, including any parent fields that it is nested under within the field group structure. The name of the field group is also listed under Field groups in the left rail. If you want to add more fields from the same field group, select Manage related fields in the right rail.

The Schema Editor with the Field group, standard field, and Manage related fields highlighted.

Add custom fields directly to a schema

Similar to the workflow for standard fields, you can also add your own custom fields directly to a schema.

To add fields to the root level of a schema, select the plus (+) icon next to the schema’s name in the canvas. An Untitled Field placeholder appears in the schema structure and the right rail updates to reveal controls to configure the field.

The Schema Editor with the add icon and an untitled root level field highlighted.

Start typing in the name of the field you wish to add, and the system automatically starts searching for matching standard fields. To create a new custom field instead, select the top option appended with (New Field).

The Field name and New Field suggestion highlighted within the field properties of the Schema Editor.

From here, provide a display name and data type for the field. Under Assign field group, you must select a field group for the new field to be associated with. Start typing in the name of the field group, and if you have previously created custom field groups they will appear in the dropdown list. Alternatively, you can type a unique name into the field to create a new field group instead.

The Display name, Type, and Assign to field property settings highlighted in the Schema Editor.

WARNING
If you select an existing custom field group, any other schemas that employ that field group will also inherit the newly added field after you save your changes. For this reason, only select an existing field group if you want this type of propagation. Otherwise, you should opt to create a new custom field group instead.

When finished, select Apply.

Apply is highlighted in the field properties of the Schema Editor.

The new field is added to the canvas, and is namespaced under your tenant ID to avoid conflicts with standard XDM fields. The field group that you associated the new field with also appears under Field groups in the left rail.

The Schema Editor with the new field added to the canvas, and namespaced under your tenant ID. The Field group and field are highlighted.

NOTE
The rest of the fields provided by the selected custom field group are removed from the schema by default. If you want to add some of these fields to the schema, select a field belonging to the group and then select Manage related fields in the right rail.