Configuration

yaml-File configuration

The configuration file is located in the installation directory of the EDI connector. By default, this is located at: ProgramData / myOpenFactory Software GmbH / EDI-Connector

The configuration file is a YAML file and can be opened and edited with any text editor.

Some of the following elements can be found in the original file, while others are extensions, e.g. for attachments, which are shown here as examples:

{
  "instancePort": 9643,                                // Default value - Mutex-Port
  "proxy": null,                                       // Proxy-Configuration - URL and port
  "runWaitTime": "1m0s",                               // Default value - lap time
  "log": {
    "level": "info",                                   // Default value - Loglevel
    "type": "EVENT",                                   // Default value - FILE/EVENT/STDOUT_TEXT/STDOUT_JSON
    "folder": null,                                    // Default value - Folder for log files of type 'FILE'
  },  
  "url": "https://rest.ediplatform.services",          // Default value - Basis URL for the rest interface
  "caFile": null,                                      // Root-Certificate for the platform
  "inbounds": [{                                       // DIRECTION INBOUND Client
    "id": "nBjCkM",                                    // myOF process ID - inbound
    "type": "FILE",                                    // file type
    "authName": null,                                  // authentication names "EDI-Connector/[Name]"
    "settings": {
      "path": "C:/edi/inbound",                        // Directory - Test inbound
      "attachmentPath": "C:/edi/attachments_inbound",  // 
      "attachmentWhitelist": [                         // Default value - From which domain can attachments be downloaded
        "https://myopenfactory.net",                   // Platform
      ],
      "mode": "create"                                 // Default value - create/append
    }
  }], 
  "outbounds": [{                                      // DIRECTION OUTBOUND Client
    "id": "0T6Qgn",                                    // myOF process ID - outbound productive
    "type": "FILE",                                    // file type
    "authName": null,                                  // authentication names "EDI-Connector/[Name]"
    "settings": {
      "message": {
        "path": "C:/edi/outbound",                     // Directory - productive outbound
        "extensions": [                                // File name extension
          "csv"                                        // Value of file name extension
        ],
        "waitTime": "1m0s"                             // Default value lap time
      }, 
      "attachment": {                                  // ATTACHMENTS
        "path": "C:/edi/outbound/attachments",         // Directory - productive outbound - Attachments
        "extensions": [                                // File name extension
          "pdf",                                       // Value of file name extension
          "step"                                       // Value of file name extension
        ],
        "waitTime": "15s"                              // Default value lap time - Attachments
      },
      "errorPath": "C:/edi/outbound/error",            // Directory - Error folder outbound
      "successPath": "C:/edi/outbound/success"         // Directory - Success folder outbound
    }
  }]
}
Last modified March 18, 2026