Create Custom Field Groups
Field group structure
A field group is always composed of the following fields. You will see this in the request in the next step.
$id value#/definitions/customFieldsallOf from aboveCreate Customer Account Details field group
- Click on the request
Step 2 - Create Customer Account Details Field GroupAPI call in theXDM Schema Lab -> Create Schemafolder
Review the body of the request before executing. Notice that the required fields mentioned in the Field Group Structure section appear like so:
allOf references the path of “/definitions/customFields”. That must match the structure defined in the schema (image on the left) as it tells the XDM system where to locate custom created objects.
Also notice how each specific field from the mapping sheet is substantiated within the XDM JSON structure.
-
Update the
titleanddescriptionfor the field group using the following format:Customer Account Details - Sandbox <your number here>
-
Execute by clicking the
Sendbutton. You should see a response similar to the screenshot below. -
Copy the
$idvalue of your newly created Customer Account Details field group.
$id somewhere. It will be required later to create the Customer Account schema