SAP Knowledge Base Article - Public

2573994 - Custom JavaScript Code in Career Site Builder - Recruiting Marketing

Symptom

How can custom JavaScript code be used in CSB pages of Recruiting Marketing?

Environment

  • SAP SuccessFactors Recruiting Marketing
  • Career Site Builder

Resolution

The Header and Footer settings in Career Site Builder allow customers to add custom JavaScript code to the pages. The intent of custom JavaScript in Career Site Builder is primarily for web service tracking like Google Analytics.

Custom JavaScript will be stripped out of the header and footer during the RMK to RCM integration (for customers using integration with Recruiting Management). Therefore, to ensure the correct visualization of the header and footer in RMK and RCM and the consistency in the look and feel between both sides, custom JavaScript code should not be added to control site appearance.

If customers decide to add custom JavaScript code with purposes other than tracking, pages might not display the configured content across the application process and the site theme and styling might be affected. Such code may also generate problems on RCM career page.

Although such a practice is not forbidden in RMK/CSB implementations, it is not recommended to add custom javascript in the header and footer or via the GTM container and any such addition will not be supported by our Support and Development teams, as it does not follow the product recommendations for the JavaScript functionality implementation.
Especially discouraged is erasing html from RMK, such as removing classes from buttons or links. Also especially discouraged is using the jquery ajaxSetup method.

Also note that custom code will not be supported nor maintained by SAP. Neither SAP Support nor Engineering will support any issues with custom code once implemented or after each release. The responsibility for the code remains with the customer/implementation team. It is therefore very important to make sure thorough testing is done to avoid any such issues and to ensure maintenance of the code is assured.

See Also

2528548 - Partner resources for Career Site Builder Implementations

2341294 - Recruiting Marketing (RMK) - Implementation tips & tricks from Support

Keywords

Custom JavaScript Code, Java Script, release, CSB, RMK
, KBA , LOD-SF-RMK-CSB , Career Site Builder , How To

Product

SAP SuccessFactors Recruiting all versions