Top
PeopleSoft Integration
  • 13 Mar 2023
  • 1 Minute To Read
  • Dark
    Light
  • PDF

PeopleSoft Integration

  • Dark
    Light
  • PDF

Article Summary

Integrating Whatfix with your PeopleSoft account enables you to display Whatfix content on your application.

The usual code snippet used for integration may not work in the case of Peoplesoft. The code has to be modified as following:

Usual Code

<script language='javascript'>window._wfx_settings={ent_id:"97b6c100-68b6-11e3-9d2e-386077c653fe"};</script>
<script language='javascript' async='true' type='text/javascript' src='//whatfix.com/embed/embed.nocache.js'></script>

TO

New Modified Code

var head = document.getElementsByTagName('head');
if (!(window.frameElement && window.frameElement.id == "embed")) {
    if (head && head.length != 0) {
        if (window.top == window) {
            var script = document.createElement("script");
            script.setAttribute("type", "text/javascript");
            script.text = "window._wfx_settings={'ignore_extension':'1','ent_id':'97b6c100-68b6-11e3-9d2e-386077c653fe'};";
            head[0].appendChild(script);
        }

        var script = document.createElement("script");
        script.setAttribute("src", '//whatfix.com/embed/embed.nocache.js");
        script.setAttribute("type", "text/javascript");
        head[0].appendChild(script);
    }
}



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.