Top
Integrate Whatfix with SAP SuccessFactors using JavaScript
  • 29 Nov 2024
  • 2 Minutes To Read
  • Dark
    Light
  • PDF

Integrate Whatfix with SAP SuccessFactors using JavaScript

  • Dark
    Light
  • PDF

Article summary

Integrating Whatfix with your SAP SuccessFactors account enables you to display Whatfix content and widgets on your application.

your title goes here

Third-party vendor content, including Whatfix content, cannot be delivered on the Learning or Jobs2Web modules within SAP SuccessFactors - if you have used the JS embed integration. To display Whatfix content on these specific modules to your end users, you must use the Browser Extension integration method. For more information on Browser Extension, see Integrate Whatfix using Browser Extension.

Use the following steps to integrate Whatfix with your SAP SuccessFactors instance:

Note:

The following steps need to be performed separately for your sandbox and production accounts.

Step 1: Configure Map Stages in your account
Step 2: Configure script-based integration on SAP SuccessFactors

Step 1: Configure Map Stages in your account

To ensure that content in the Ready and Production stages is visible to end users, you must first map the instances under Map Stages on each instance. Mapping each stage ensures that when you create content and move it to the Ready stage, the content is shown on your development instance, and when the content is pushed to production, the content displays on your production instance. For more information, see Use JavaScript code to show Whatfix content.

Tip:

Ensure that you configure distinct environment details for the Ready and Production stages for your sandbox and production accounts, respectively to avoid any content visibility conflicts.

Once you have mapped stages, an account-specific Deployment Script is generated. Here is an example of how this looks:

SAP Successfactors map stages.png

Here is an example of how a generated script looks:

<script language='javascript' async='true' type='text/javascript' src='https://cdn.whatfix.com/prod/1234abc0-1234-11ab-1234-1234abc07abc/initiator/initiator.nocache.js'></script> 

Note the following details from the generated script:

  • Data Center information: The URL domain in the src value determines the data center.
    US data center: cdn.whatfix.com
    EU data center: eucdn.whatfix.com

  • Account ID: Each Whatfix account is identified by a unique 36-character alphanumeric string. The account ID is present in the same script. For example, in the above script, 1234abc0-1234-11ab-1234-1234abc07abc is the account ID.

Step 2: Configure script-based integration on SAP SuccessFactors

your title goes here

Contact your SAP Successfactors Admin with Company System and Logo Settings permission to perform this step.

image.png

Use the following steps to configure JS Embed:

  1. On the SAP SuccessFactors dashboard, click your profile picture.
    sap script injection_admin.png

  2. Click Admin Center.
    sap script injection_admin centre.png

  3. In the Tools section, search and select Script-Based Integration Settings.
    sap script injection_tools.png

  4. Click Add Supplier.
    sap script injection_add supplier.png

  5. In the Enter Supplier ID field, add whatfix as the supplier.
    sap script injection_supplier.png

  6. In the Script-Based Integration Settings page, enter the following details against each of the input fields:
    image.png

  • Whatfix Data Center: Choose the appropriate data center for your account.

  • Account ID: Enter the 36-character alphanumeric string obtained from the account-specific JS-embed script generated by Whatfix.

  • Enable Whatfix Integration: Enable this option to ensure Whatfix content shows up on your account.

your title goes here

If you currently use the Browser extension method as your delivery method, you can switch to the JS Embed method. For more information, see Switch from Browser Extension to JS Embed for SAP SuccessFactors.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.