WebWorks Help 5.0 - Topics do not update in IE with WWHelp API

  • We are setting up our help for the first time. Our developer is using the WebWorksHelpAPI to link to context sensitive help through context and topic ids. I sent him a help file yesterday. When he tested his links, the first context-sensitive help topic appeared correctly. When he proceeded to test other links, the help did the not link to the new topics. The topic for the first link remained.

This is a defect in the WebWorks Help 5.0 format as shipped with ePublisher versions 2008.2 and 2008.3.

To correct this problem, users should create overrides for the following WebWorks Help 5.0 files:

  • WebWorks Help 5.0\Files\wwhelp\wwhimpl\common\scripts\help.js WebWorks Help 5.0\Files\wwhelp\wwhimpl\common\scripts\switch.js

In both files, search for "function GetDelimitedArguments(ParamURL) " and replace it with:

  function GetDelimitedArguments(ParamURL)
  {
    var  Parts = [];
    var  Parameters;

    // Process URL parameters
    //
    if (ParamURL.indexOf("?") != -1)
    {
      Parts = ParamURL.split("?");
    }
    else if (ParamURL.indexOf("#") != -1)
    {
      Parts = ParamURL.split("#");
      Parameters = Parts.slice(1).join("#");
      Parts.length = 2;
      Parts[1] = Parameters;
    }

    return Parts;
  }

Regenerate your helpset and you work should be complete.


CategorySolutionsOutputWebWorksHelp CategorySolutionsOutputCsh

Permalinks/Solutions/Output/WebWorksHelp/TopicsDontUpdate (last edited 2009-04-15 23:38:45 by LaurenLever)