DFFS Installer / loader issues in IE 8 should now be sorted

Thanks to feedback from a few different users I have been able to locate and fix the error occurring when loading DFFS with the new loader in IE8 mode.

The DFFS package has been updated to “September 21, 2016” – you find it here: http://spjsblog.com/dffs/

Thanks for all the feedback,

Alexander

23 thoughts on “DFFS Installer / loader issues in IE 8 should now be sorted”

  1. This really puzzles me as sessionStorage is supported in IE8. Could you bring up the developer console (hit F12 > Console) and type in these test strings:

    First set the value with this line:

    sessionStorage.setItem("testvalue","this is a test");
    // This will output undefined in the console

    then this line:

    sessionStorage.getItem("testvalue");
    // This will output "this is a test" in the console

    then this line to clear the value:

    sessionStorage.removeItem("testvalue");
    // This will output undefined in the console

    then this line to verify it has been deleted:

    sessionStorage.getItem("testvalue");
    // This will output "null" in the console

    Any error messages?

    Alexander

    1. Errors in order.

      Unable to get property ‘setItem’ of undefined or null reference
      Unable to get property ‘getItem’ of undefined or null reference
      Unable to get property ‘removeItem’ of undefined or null reference
      Unable to get property ‘getItem’ of undefined or null reference

      1. This concludes that the sessionStorage is definately not supported. A bit strange as it is supposed to be supported in IE8 – might be disabled in a group policy.

        Can you try this version of the frontend file and see if it behaves better?

        Best regards,
        Alexander

  2. I tried your new file and it gives me the below error still. I believe it is because sessionStorage is null not undefined.

    /* Dynamic Forms for SharePoint [frontend] v4.4.0.2

    Unable to get property ‘removeItem’ of undefined or null reference

    1. That appears to have done the trick! The new overlay has multiple time out values. Which one is most like the previous version that only had one? I want to increase the timeout of loading the configuration/form.

  3. With the new loader/installer if I have a Site Collection license and intend on hosting my files from a SPJS library on the Site Collection I know I have to update the value in the two files but do I also have to create a DFFS_Installer page on the Site Collection as well as all child sites I intend on using it on?

  4. In the new version that incorporates the latest “sessionStorage” fallback, I have added an option to supply the license code in the “DFFS_loader.html” so you don’t have to add it to all sites.

    Currently, you must add a CEWP to a web part page in each subsite that loads the “Installer” from the “/SPJS/DFFS/installer” folder on the root site. You can however export this web part and add it to the web part gallery to ease the process of adding it to the rest of the sites.

    Alexander

  5. I did a fresh install of the Sept 21st version in 2013 and 2010. 2013 is working great, but I’m now receiving an error for the DFFS_backend_min.js file when clicking the enhanced with DFFS link. The backend config page will load, but it will not allow me to save if I make any changes. Console error reads

    “Script438: Object doesn’t support property or method ‘on’ NewForm.aspx (1,68560)”

  6. This is caused by loading a jQuery version < 1.7 as the "on" method was introduced in v1.7. The new installer will not load jQuery if it is already present in the page, but it will unfortunately not work with this old version of jQuery (v1.7 was released in 2011). Loading multiple versions of jQuery is not a good idea, so you need to update your existing version to at least 1.7 or later versions (latest v1.x version that supports IE 8 is 1.12.4). You can check which version is loaded by typing this in the console (hit F12 > Console):

    jQuery.fn.jquery

    Alexander

Leave a Reply