SAP Knowledge Base Article - Public

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

Symptom

  • This KB article is to demonstrate configuration of the mapping of additional custom fields to a connector file in SuccessFactors Learning.
  • If this is not configured correctly an error may occur in the error log and prevent the field from being updated:

Column doesn't exists :COL_NUM"X"_VAL in tables [pa_conn_stud_user, pa_conn_student]

Where X is the custom field number

**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 to negate erroneous data being loaded in the system. 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

  • When we talk about mapping new custom fields to a connector file, we are simply saying we want to add additional column/header fields to our input file to reflect custom fields that have already been created in Learning UI. 
  • User Connector and User Connector-SF has 15 default Custom Coloum mapped, while Item Connector has only 5 default Custom Colum mapped.
    For any other additional custom colum, please follow below instructions.
    Adding property like 'item.field.mapping.data.COL_NUM6_VAL=COL_NUM6_VAL' will not work.
  • These fields are also not already defined in the Connector User Assistance Guides (login may be required).

Background

  • Custom fields are created in Learning to capture data for an entity in the form of fields that do not already exist in the system by default.
  • Such fields can be added to entities such as Item, User, Curriculum or Class.

Important Information

  • While most of these custom fields can be updated by their respective connector, only the Item and User Connectors currently allow for the mapping of additional custom fields in their corresponding input files.
  • All the other connectors do not currently allow for more custom fields to be mapped other than those already mapped by default and listed in the Guides*.

Note: As stated in the Guides, please engage your Implementation Partner/SAP Professional Services before making any changes to Connectors. Connectors can create a lot of 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.

*This includes the user_extended_data input file which is processed by the SF User Connector but whose input file is configured and mapped separately.

Mapping Additional Custom Fields (for User & Item Connectors Only)

Steps

  1. When mapping additional custom fields to the user and item connectors the first step is to manually create them in the system.
  2. This is done in System Administration > Custom Fields > Item/User.
  3. Name these fields whatever you desire but it is important to take note of the Field Number.
  4. Once you have these Field Numbers, you are ready to map in the Connector Configuration file.
  5. Additional columns are constructed in the following way: user.field.customcolumn.<col_num>=<field mapping from input file>   
  6. The col_num is the custom field number as set up in Learning.  The field mapping from the input file is the input field that you are mapping to this custom field.
  7. For example, if you want to add custom field 200, 300, 400, and 500 to the User or Item Connector then you would add the following to the properties file:
  •           User Connector (user_data file)

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> 

  •           SF User Connector (user_data file)

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> 

  •           Item Connector (item_data file)

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. 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.

Note: This also means custom fields created by admins (other than the default 15 custom columns) cannot be used in the copy rule.

See Also

  • KB article 2326028 - Validation Errors not being flagged for additional columns in Extended User input file
  • KB article 2362587 - Copy Rule For User Connector - Extended not working

Keywords

sf, success factors, LMS, Custom Columns, Connector Configuration, Item Connector, User Connector,class connector , KBA , LOD-SF-LMS-CON , Connectors , LOD-SF-LMS , Learning Management System , How To

Product

SAP SuccessFactors Learning all versions