FormHelp - List outside SP Lists folder

Sep 14, 2010 at 10:16 PM

I am using the FormHelp and have no trouble if my SP List is located under http://<server-name>/Lists/<List Name> - the help icons show up and all works fine EXCEPT for Form Field Description (but I will worry about that later).

Question: How do I make the FormHelp work if my SP list is created at the server root level e.g. http://<server-name>/<List Name>. I looked into the jPart.formHelp.js file and found the following code. It seems to me that the SiteURL is looking for the URL to have /Lists -  how do I change this setting to accept SP List located at root level?


    //Fix for MOSS to be still examined some more ---------------------------------------------------------
    if(jP.SiteURL.length == 0)
        jP.SiteURL = window.location.toString().substr(0, window.location.toString().lastIndexOf('/Lists'));

 

 

 

Coordinator
Sep 14, 2010 at 11:01 PM
Edited Sep 14, 2010 at 11:02 PM

Take a look at the discussion thread located at http://jpoint.codeplex.com/Thread/View.aspx?ThreadId=211107 for the workaround.