Some additional features can be configured in the metadata defs. The path is custom/Espo/Custom/Resources/metadata/exportImportDefs.
If need to export additional fields that out of the standard functionality.
Example for Quotes: custom/Espo/Custom/Resources/metadata/exportImportDefs/Quote.json
{
"exportAdditionalFieldList": [
"itemList"
]
}If need to skip some records like system user or others.
Example for User: custom/Espo/Custom/Resources/metadata/exportImportDefs/User.json
{
"exportSkipLists" : {
"id": [
"system"
],
"userName": [
"tester"
]
}
}Edit the file: custom/Espo/Custom/Resources/metadata/exportImportDefs/ENTITY.json.
{
"fields": {
"amountCurrency": {
"placeholderAction": "Config\\Get",
"placeholderData": {
"key": "defaultCurrency",
"default": null
}
}
}
}{
"fields": {
"password": {
"placeholderAction": "User\\Password",
"placeholderData": {
"value": "1"
}
}
}
}{
"fields": {
"isActive": {
"placeholderAction": "User\\Active"
}
}
}{
"fields": {
"dateStart": {
"placeholderAction": "DateTime\\Now"
}
}
}The difference between the record date and the export date.
E.g. record date = 2025-05-01, export date = 2025-08-01. When import data at 2025-12-01, the record data will be 2025-09-01.
{
"fields": {
"dateStart": {
"placeholderAction": "DateTime\\ExportDifference"
}
}
}The same logic as ExportDifference, but the initial value gets from another field.
{
"fields": {
"createdAt": {
"placeholderAction": "DateTime\\ExportDifferenceField",
"placeholderData": {
"field": "dateStart",
"defaultAction": "DateTime\\Now"
}
}
}
}To get the initial value from a couple fields. The value will be obtained from the first defined field.
{
"fields": {
"createdAt": {
"placeholderAction": "DateTime\\ExportDifferenceField",
"placeholderData": {
"fieldList": [
"dateStart",
"dateEnd",
"dateCompleted"
],
"default": "2026-01-01 01:00:00"
}
}
}
}The placeholderData parameter accepts the following options:
field– Specifies the field name from which to retrieve the value. Note:fieldandfieldListare mutually exclusive.fieldList– An array of field names to check for a value. The first non-empty field will be used.default– A fallback value to use when the specified field(s) contain no data. Note:defaultanddefaultActionare mutually exclusive.defaultAction– A fallback placeholder action to execute when the specified field(s) contain no data.
{
"fields": {
"dateStart": {
"placeholderAction": "DateTime\\CurrentMonth"
}
}
}{
"fields": {
"dateStart": {
"placeholderAction": "DateTime\\CurrentYear"
}
}
}