SAP Knowledge Base Article - Public

2222231 - Labels IDs with bracket(s) values cannot be imported into LMS

Symptom

Labels IDs which contain a bracket(s) value cannot be imported into LMS

data.menu.mylabel(CSV)=mylabel(CSV)

Environment

SAP SuccessFactors Learning - All Supported Versions

Reproducing the Issue

  1. Create the label import txt file which contains below list of labels

    data.menu.mylabel1(CSV)=My Label1 (CSV)
    data.menu.mylabel2CSV=My Label2 (CSV)
    data.menu.mylabel3(PDF)=My Label3 (PDF)
    data.menu.mylabel4PDF=My Label4 (PDF)

  2. Go to System Admin > Tools > Label Import/Export and follow the steps to import these labels to an active Locale
  3. After Import is successful, go to System Admin > Tools > Label Import/Export > select Export Label and search for label value contains 'My Label'.
  4. Only the following two labels are listed:

    data.menu.mylabel2CSV=My Label2 (CSV)
    data.menu.mylabel4PDF=My Label4 (PDF) 

Cause

This is an expected behavior. Label ID's cannot contain special characters.

Resolution

In the case of a custom report being imported, it can have names like mylabel(PDF). The system creates a new label data.menu.mylabel(PDF) with value MyLabel(PDF). The value can be edited in References > Geography > Labels. But such labels cannot be created in the References or imported via Admin label import tool since those processes will be validated by the rule of Java properties file key=value.

Please do not use special characters in the label ID (Key). You could potentially append values like:

data.menu.mylabelCSV
data.menu.mylabelPDF

Keywords

label, special character, custom report, import label , KBA , LOD-SF-LMS-CON , Connectors , LOD-SF-LMS , Learning Management System , How To

Product

SAP SuccessFactors Learning all versions