SAP Knowledge Base Article - Public

2256304 - Enabling multiple input files for Connectors

Symptom

The connectors can process multiple input files. How can this be enabled?

Environment

SAP SuccessFactors Learning

Resolution

Each connector has a property that enables multiple file processing.  It is the connector.input.file.multiple property.  Add this property to the specific connector. Examples:

  • Enabling the Item Connector:  item.connector.input.file.multiple=true
  • Enabling the Learning History Connector:  learninghistory.connector.input.file.multiple=true
  • Enabling the Curricula Connector: curriculum.connector.input.file.multiple=true
  • Enabling the Class Connector: scheduleoffering.connector.input.file.multiple=true
  • Enabling the User Connector - SF: sfuser.connector.input.file.multiple=true

Once enabled, the input files will have a numeric suffix.  For example, if you had two files to process in a single run then you would name the two separate files as:  item_data.txt.1 and item_data.txt.2.  The numeric suffix cannot have leading zeroes.  They must be 1, 2, 3 – NOT 01, 02, 03.

Also note that there is also an override configuration available to change the format of multiple input files i.e. sfuser.connector.input.file.multiple.format=TIMESTAMP_BEFORE_EXTENSION. If you have this override configuration in place then connector will not proccess files with input name  user_data.txt.1 and user_data.txt.2 instead it will proccess multiple files in format: user_data_<yyMMddHHmmss.SSSZ>.txt where yy is year, MM is month, dd is day of the month, HH is hour in 24 hour format, mm is minutes, ss is seconds, sss is miliseconds and Z is timezone offset.

See Also

2256245 - Multiple input files not working with PGP encryption

3590865 - Modifying Input File Formats While Processing Multiple Files Through Connectors

Keywords

multiple input file, connector, connector.input.file.multiple, provisioning export jobs, sf, lms, setting, property, configuration,TIMESTAMP_BEFORE_EXTENSION connector , KBA , LOD-SF-LMS-CON , Connectors , How To

Product

SAP SuccessFactors Learning all versions