AJAX Toolkit
by Dave Carroll on July 28, 2005 at 02:19 PM
Introducing the AppExchange” AJAX Toolkit Beta 3.3
As Google Maps and a number of other innovative new web apps have shown, when pushed to its limits JavaScript is capable of some pretty amazing things. The catch has been that it requires a heroic amount of JavaScript rocket science to make work, which can be painful to develop and debug. Sforce developers who have tried to develop client side s-controls with JavaScript have likely experienced this directly.
The new AJAX Toolkit opens the door to powerful, s-control based extensions to Salesforce that take advantage of AJAX. Not only can you build sophisticated apps that don’t require any server infrastructure possible, it also makes it easy. The toolkit exposes the complete Sforce API in JavaScript with the same methods and syntax you already know – making developing s-controls a breeze. Better yet, the toolkit works in all major browsers, including IE, Firefox and Safari, ensuring that your s-controls run cross platform without requiring additional work.
Want to “mash up” Sforce with another Web service like Google Maps? Need to create a new UI for a layout or custom object? Want to create a print view or roll up of other data? With the AJAX Toolkit, the possibilities are virtually endless. So download the attached zip to review the docs and samples, and make sure you sign up for the AJAX session at Dreamforce to get hands on training with the new toolkit. As the toolkit is still beta, make sure you let us know about what you’ve built, and bugs you find or suggestions for improvements.
Note: Like all of our open source projects, the AJAX toolkit is supported only through the Sforce message boards.
Two sample Custom S-Controls, a more detailed how-to and java doc describing the objects in the toolkit can be had here Download docs.zip .
TrackBack
TrackBack URL for this entry: http://www.typepad.com/t/trackback/324572/2902261
Listed below are links to weblogs that reference AJAX Toolkit:
Tracked on December 20, 2005 06:05 AM:
» Blog Marketing from Blog 57
With an exclusive look inside Google, Disney, Yahoo, IBM, and others, this book shows how your company can use blogs to raise its visibility and transform internal communications All companies, large and small, know that reaching customers directly a... [Read More]
Tracked on December 20, 2005 09:56 PM:
» Megatrend alert: Rich Clients, Web Services, and On Demand Software from Jonathan Boutelle's home on the net
The major trends in IT today reinforce each other in a powerful way. The two technology trends (Web Services and Rich Clients) are tailor-made for the new business-model trend (On Demand Software). The two technology trends also reinforce each each... [Read More]
Tracked on March 10, 2006 02:58 PM:
» Standard Furniture - Search Results from Find Furniture -- Search Engine for your favorite furniture
Furniture Search Search for products by completing Classification and Product Type You may refine your search further by Style and Material if you wish. ... [Read More]
Tracked on March 10, 2006 07:47 PM:
» Medical License Search from Pharmacy Web Site Directory
Search engine for Florida Health related licenses. ... Skip left hand navigation and go to main body of page. Welcome to the Health and Human Services ... [Read More]

Comments
Posted by Ron Hess on August 1, 2005 03:21 PM:
Dave, Thanks for your hard work on this, I was able to port one of my office toolkit based s-controls to use this code in less than an hour. The new code is simpler has fewer dependencies and works on Firefox.
Great work!
Posted by Andrew Waite on August 13, 2005 09:01 PM:
Really nice work here Dave. For those that are interested, I put together a use case for converting opportunity line items to assets using this toolkit. It's posted on the sforce boards:
http://forums.sforce.com/sforce/board/message?board.id=discuss&message.id=1728
Posted by Andrew Waite on August 23, 2005 11:45 PM:
For those that may have trouble accessing that message board post I referenced above, the same information is available now in the blog:
http://blog.sforce.com/sforce/2005/08/another_great_s.html
Posted by jimmy whatever on September 2, 2005 06:33 AM:
is this really called "smashforce"? i hope not, that's terrible. personally i think they've gone a bit overboard with the "force" thing.
Posted by Hess Johannson on September 5, 2005 01:24 PM:
Should have toned down the forcing the smash thing as it is merely an assistant to what the apps couldn't do previously. Although, really great post and super informative.
Posted by Sreekumar on September 16, 2005 06:46 AM:
Andrew/Benji,
We are using LADP authentication for Single Signon. Please let me know how do we integrate Salesforce.com also into our LDAP schema
Sreekumar
Posted by Jeff R on September 17, 2005 11:30 AM:
Great article and examples on using AJAX, but I noticed the "Javascript.doc" file referenced in the "Sforce AJAX Toolkit_beta1.doc" file was missing from the zip file. Can you tell me where I can find it?
Thanks.
Posted by Dave Carroll on September 17, 2005 03:24 PM:
Jeff R,
Thanks for the heads up. The docs are located at http://www.sforce.com/ajax/beta1/js_docs_out/
Posted by Bruce Blodgett on December 21, 2005 10:10 AM:
In ScontrolContactAddressUpdate.htm please change line 10 to:
(just as it is in helloworld2.htm )
Posted by Bruce Blodgett on December 21, 2005 10:13 AM:
In ScontrolContactAddressUpdate.htm please change the js link to:
src="https://www.sforce.com/ajax/beta1/sforceclient.js"
(just as it is in helloworld2.htm )
Posted by Mike Shawaluk on January 10, 2006 06:20 AM:
Hello, I've been using the AJAX toolkit since day 1, and think it's great. I'm currently using the beta2 version, and would like to move to beta3 (or later) but I've found that it breaks my code, due to syntax changes. Has anyone updated the documentation that was distributed with the above beta 1 toolkit to reflect these changes?
Also, I got the impression from another post that the Winter '06 release was intended to mark the end of the beta period for this toolkit; is that true?
Posted by sushil on February 20, 2006 10:27 PM:
I am trying to use ajax toolkit beta 3 and it gives this.timerlog is null or not an object when i try to login into salesforce also i want to know whether we have documentation for beta 3 anywhere
Thanks
Sushil
Posted by Joyce G Carlberg on March 17, 2008 08:48 PM:
Hello:
I noticed money has been taken from my account and I didn't authorize this. I have been in the hospital due to a MVA. What is this even.
Please Help
Thank You