+ Start a Discussion
Maplesoft BISMaplesoft BIS 

more reliable location for sforceclient.js?

Yesterday the main www.salesforce.com site was down periodically.  Because of this, our S-Controls were encountering javascript errors ...presumably because the javascript source file is linked as follows: https://www.salesforce.com/services/lib/ajax/beta3.3/sforceclient.js

Are there alternate locations for this file that can be used to avoid this scenario?  I've tried the na2 server but the file does not appear to be there.

Any help would be appreciated,

 

John

nhebbnhebb

I downloaded the javascript and stored in the document library section.

In the scontrol used below code to refer it

 <script src="/servlet/servlet.FileDownload?file=015T0000000DPJU" type="text/javascript"></script>

where 015T0000000DPJU = ID of the uploaded document. 

Hope this helps. 

Gareth DaviesGareth Davies

The new libary Winter 07 is found at

 /soap/ajax/8.0/connection.js

which should be as reliable as your data connection.

bryanobryano
You can always download the toolkit locally abd attach the file to your scontrol.  In your <head> tag you would put this: <script language="JavaScript" type="text/javascript" src="{!Scontrol_JavaCodebase}{!Scontrol_JavaArchive}"></script>