SharePoint 2007 – not able to install

Forums Dynamic Forms for SharePoint SharePoint 2007 – not able to install

This topic contains 4 replies, has 2 voices, and was last updated by  Říha Michal 7 months ago.

  • Author
    Posts
  • #15659

    Říha Michal
    Participant

    Hi Alexander,
    I am not able install latest DFFS_February_01, 2017 on SharePoint Portal 2007.
    I followed instructions, but do not see the “Enter DFFS setup” link.
    I suppose, that some function you are using in DFFS is not present in core.js for MOSS 2007 (see attachement)…
    Thanks for your help.
    Michal

    Attachments:
  • #15679

    Alexander Bautz
    Keymaster

    Sorry about that. I no longer have access to a SP 2007 test site so I cannot get proper testing done.

    This means SP 2007 support is slowly fading in new versions…

    You can try adding this function to your spjs-utility.js file in “/SPJS/DFFS/plugins” folder:

    function makeAbsUrl(a) {
        if (a.length > 0 && "/" == a.substr(0, 1))
            a = window.location.protocol + "//" + window.location.host + a;
        return a
    }

    This is a built in function in SP 2010+ and I thought it was present in SP 2007 as well.

    Alexander

  • #15724

    Říha Michal
    Participant

    Hi Alexander,
    I fixed issue with makeABsUrl. It was caused by core.js which was loaded after you scrip.

    But there is another issue, DFFS doesn’t work on sharepoint 2007 because “Document.querySelectorAll” doens’t exist in IE 11.

    This method doesn’t exist because pages are loaded in compatibility mode in which this function is disabled. I found this method in you code only once. Do you have some idea, hot to fix it?

    Michal

  • #15744

    Alexander Bautz
    Keymaster

    If the error comes from DFFS_frontend.js you can try this in the Custom JS:

    spjs.dffs.showForm = function(){
    	var ft = jQuery("table.ms-formtable")[0];
    	if(ft !== undefined){
    		ft.style.position = "static";
    	}
    }

    Alexander

  • #15770

    Říha Michal
    Participant

    In the end I solved it using different browser.
    Thank you, for your help, Alexander.
    Michal

You must be logged in to reply to this topic.