Upgrading to CallScripter version 4.5.51 and above from CallScripter version 4.5.50 or older

A major change was made in CallScripter 4.5.51 to deliver performance enhancements requires an additional step for upgrades
 
To remove unnecessary execution of  of JavaScript in the agent desktop where not in use, functional code has been moved from the core product (executer) to the controls that require that code.  One of the following two changes MUST be made when upgrading from a version prior to 4.5.50 to the latest release.
 
OPTION ONE (RECOMMENDED): Update all affected controls in all scripts.
 
Update the following controls to the latest version once the upgrade has been completed:
  • Table control
  • Web service control
  • Task management control
  • Date pickers
  • Outcome control (date picker)
  • Outbound linked records
  • Linked script
  • ININ set call outcome
  • ININ reschedule call
  • External Data Source 
Further information on updating controls can be found in the User Guide: https://manuals.callscripter.com/controls.html
 
OPTION TWO (TEMPORARY WORK AROUND): Paste removed JavaScript code into custom.js
Where customers have many scripts and upgrading all affected controls will take time, the following can be added to custom.js; a file that is loaded for every script run where present.  This reintroduces the code removed from the core product and allows older controls which do not call the code directly to continue to function.  This code will then be executed whether or not the script requires it, therefore reintroducing the performance overhead associated with versions of CallScripter prior to 4.5.51.
 
In IIS, navigate to the CallScripter website to be amended, and to the folder  \\wwwroot\Lib. Paste the following JavaScript into the custom.js.sample file, and rename the file to custom.js,
 
///////////////////////////////////////////////////////////////////
document.write('<script type="text/javascript" src="/lib/json2.js"></script>')
document.write('<script type="text/javascript" src="/lib/jqueryui.min.js"></script>')
document.write('<script type="text/javascript" src="/lib/jquery.tmpl.js"></script>')
document.write('<script type="text/javascript" src="/lib/callscripter.loadingoverlay.js"></script>')
document.write('<script type="text/javascript" src="/lib/callscripter.contextmenu.js"></script>')
///////////////////////////////////////////////////////////////////