FIX4.00.00 · Released 21 December 2022
High Importance
FIXfinPOWER Connect
Released in
4.00.00
21 December 2022
  1. Opened14 Jul
  2. Closed14 Jul
  3. Released21 Dec
Article 19356 Job J029157

Scripts; HTML Reports; PolyFill added so that Scripts using window.navigate still work with WebView2

Since updating to the WebView2 from Microsoft's old WebBrowser control, certain older, compatibility functionality no longer exists.

One JavaScript function that no longer works is window.navigate which is used in the sample "Management Dashboard Sample" Script supplied with finPOWER Connect.

The viewer for HTML Reports now injects the following "PolyFill" code into the HTML Report to maintain compatibility:

// finPOWER Connect PolyFill for HTML Reports using window.navigate
if (!window.navigate) {
  window.navigate = function (url) {
    document.location = url;
  }
}