SAP Knowledge Base Article - Public

2326051 - How to configure mapping for additional custom fields for connector files in SAP SuccessFactors Learning

Symptom

This KBA is to demonstrate configuration of the mapping of additional custom fields to a connector file in SAP SuccessFactors Learning.

**Important Note:**
We recommend engaging a Certified Partner or Professional Services to assist you on connectors implementation. If you decide to utilize Connectors / Connector Workbooks on your own you will assume full responsibility. 
Please note, it is expected & recommended that you complete thorough testing before using Connectors, as they can create numerous erroneous data which cannot be easily fixed and can result in incurring significant costs to fix. Making these changes and importing data through the Connector, you are assuming full responsibility. Best practice is to run the connector in a stage environment for one record and verify the results.
To reiterate, SAP SuccessFactors Support is not responsible for the data that Learning administrators place within the input files.

Environment

SAP SuccessFactors Learning

Resolution

Additional custom field mapping in the connector means adding column headers to the input file that reflect custom fields already created in the Learning UI. User and User-SF Connectors support 15 default custom fields, Item Connector supports 5, and additional fields can be mapped by following the provided instructions.

Mapping Additional Custom Fields

Before including a custom field in the copy function, it is essential to ensure that the field mapping has been properly configured beforehand. Without the mapping in place, the system will not be able to recognize or process the custom field correctly, which may result in data not being carried over as expected during the copy operation. Ensuring the mapping is completed first prevents potential data inconsistencies and avoids unnecessary troubleshooting steps further down the process.

Custom Field creation

  1. In Learning Administration, go to System Administration > Custom Fields 
  2. Chose Item or User entity as per your business needs > Click 'Add New' 
  3. Name the new Custom Field under Label and take note of the Field Number 
  4. Click 'Add' and finish configuring the new Custom Field and Apply Changes.

Once you have the Field Number, you are ready to map in the Connector Configuration file by going to:

  1. System Administration >
  2. Configuration >
  3. System Configuration >
  4. CONNECTORS.

Additional Custom Field structure

<connector>.field.customcolumn.<col_num>=<field mapping from input file>

The col_num is the custom field number created in the step above. The <field mapping from the input file> is the input field that you are mapping to this custom field. Last but not least, <connector> will be one of the connectors that supports custom field mapping: User, SF User or Item.

Sample User Connector:

user.field.customcolumn.200=<field mapping from input file>
user.field.customcolumn.300=<field mapping from input file>
user.field.customcolumn.400=<field mapping from input file>
user.field.customcolumn.500=<field mapping from input file>

Sample SF User Connector:

sfuser.field.customcolumn.200=<field mapping from input file>
sfuser.field.customcolumn.300=<field mapping from input file>
sfuser.field.customcolumn.400=<field mapping from input file>
sfuser.field.customcolumn.500=<field mapping from input file>

Sample Item Connector:

item.field.customcolumn.200=<field mapping from input file>
item.field.customcolumn.300=<field mapping from input file>
item.field.customcolumn.400=<field mapping from input file>
item.field.customcolumn.500=<field mapping from input file> 

    Important: Remember mapping additional custom fields is only supported by the three connectors referenced above: Item Connector, User Connector and SF User Connector. Attempting to map additional custom fields, other than those referenced in the Guides, to any other connector in the same way as above will result in unexpected errors or erroneous updates. This is because there are currently no validation checks in place in the code base for their associated input files other than for those fields referenced in the Guides.

    Copying Custom Fields

    To include the custom field in the copy rule, use the same value from in the mapping. See example below:

    user.connector.copy.field.mappings=EMAIL_ADDR=customcolumn_200

    See Also

    KBA 2326028 - Validation Errors not being flagged for additional columns in Extended User input file

    Keywords

    sf, success factors, LMS, custom, columns, fields, mapping, guide, input, file, data, Connector, Configuration, Item Connector, User Connector, class connector, item, user, sap , KBA , LOD-SF-LMS-CON , Connectors , LOD-SF-LMS , Learning Management System , How To

    Product

    SAP SuccessFactors Learning all versions