2173658 - How to map BizX Locale to LMS Locale via User SF Connector-LMS

SAP Knowledge Base Article - Public

2173658 - How to map BizX Locale to LMS Locale via User SF Connector-LMS

Symptom

Locale IDs in BizX are “ES_MX”, “FR_CA” and “EN_US” Locale IDs in LMS are “Spanish Mexican”, “French Canadian”, and “English” We want to translate the value from BizX to LMS for English, Spanish, and French on the sf user connector. The English translation works, but the Spanish and French don’t. If we set the rule as Spanish Mexican the system automatically adds an “=” (Spanish=Mexican) on the sfuser.field.transform.data.LOCALE statements. If we use an unscore (“_”) we get an error. Either way the locale is not being set correctly. It won't allow the space in the locale ID.

The fransformation rule we used ( System Admin->Configuration->System Configuration->CONNECTORS) are:

sfuser.field.transform.data.LOCALE.French=Canadian=fr_CA 

sfuser.field.transform.data.LOCALE.Spanish=Mexican=es_MX

How do we do this?

Environment

  • Learning Management Systems-LMS
  • b1408 and above versions

Reproducing the Issue

  • Add transformation rule(s) in the Connector Configuration File (System Admin->Configuration->System Configuration->Connectors) such as:

sfuser.field.transform.data.LOCALE.Spanish Mexican=es_MX

or sfuser.field.transform.data.LOCALE.Spanish_Mexican=es_MX

or sfuser.field.transform.data.LOCALE.Spanish/Mexican=es_MX

  • Run the User SF Connector with es_MX in the 'LOCALE' column of the input file
  • Those rows with es_MX will be excepted with an error such as 'Entity does not exist.LocaleID: Spanish_Mexican'

 

Resolution

There’s an enhancement (LRN-6564) applied since 1408 which eliminates the need to apply transform rules for locales and timezones. The application will sync automatically with internal transformation rule.

Thus there's no need to put addition transformation rules in the UI for locale. And you might want to remove the ones you already put there which transform the locale to names LMS can't recognize and throws an exception.

Keywords

LOCALE, Transform, Connectors, SF , KBA , LOD-SF-LMS , SuccessFactors Learning , LOD-SF-LMS-CON , Connectors , How To

Product

SuccessFactors Learning 1408 ; SuccessFactors Learning 1508