The "components"-section determines the view of the export modal. You can hide fields, make them mandatory, lock them or set a maximum field length. It is only necessary to add a configuration here if you want to make a change to the default setting.

{
  "lead": [
    {
      "type": "lead",
      "duplicateCheckName": "lead",
      "label": {
        "en": "Lead",
        "de": "Lead"
      },
      "fields": {
        "LeadId": {
          "id": "LeadId",
          "type": "input",
          "label": {
            "en": "Id",
            "de": "Id"
          },
          "properties": {
            "hidden": true,
            "identifier": true
          }
        },
        "Subject": {
          "id": "Subject",
          "type": "input",
          "label": {
            "en": "Topic",
            "de": "Thema"
          },
          "properties": {
            "required": true,
            "maxLength": 50,
            "defaultValue": ""
          }
        },
        "LeadSource": {
          "id": "LeadSource",
          "type": "select",
          "label": {
            "en": "Lead source",
            "de": "Leadquelle"
          },
          "properties": {
            "locked": true,
            "defaultValue": ""
          }
        }
      },
      "search": {
        "ids": [
          "FullName"
        ]
      },
      "mainTemplate": "{{ FirstName }} {{ LastName }}",
      "detailsTemplate": "{{ CompanyName }}",
      "preventDisableEntity": false
    }
  ]
}

Field properties

Property Effect
hidden field will be hidden in export view, value will be send
required if the field is empty, the export will not be possible
identifier value will always be send, even if not modified
maxLength if the maxLength is exceeded, a popup notifies the user (field type input only)
defaultValue defaultValue, the defaultValue will be inserted
locked field can not be modified, always uses the value received from the CRM