contents
Documentation Version
Spring '15 (API version 33.0)
Language
English
  • Preview Summer '15 (API version 34.0) 34.0
  • Spring '15 (API version 33.0) 33.0
  • Winter '15 (API version 32.0) 32.0
  • Summer '14 (API version 31.0) 31.0
  • Spring '14 (API version 30.0) 30.0
  • Winter '14 (API version 29.0) 29.0
  • English

The AJAX Toolkit

The AJAX Toolkit is a JavaScript wrapper around the API:
  • The AJAX Toolkit is available for any organization that has API access.
  • The AJAX Toolkit supports Microsoft® Internet Explorer® versions 7, 8, 9, 10, and 11 with the latest Microsoft hot fixes applied, and Mozilla® Firefox®, most recent stable version.
  • The AJAX Toolkit is based on the partner WSDL. Because there is no type checking in JavaScript, the type information available in the enterprise WSDL is not needed.
  • You can execute any call in the API, and access any API object that you normally have access to.
  • You can issue asynchronous calls, and use callback functions to handle the results. For more information, see API Calls and the AJAX Toolkit.
  • You can use header options with a different syntax than in the API. For more information, see Using SOAP Header Options with the AJAX Toolkit.
  • You can handle errors with the AJAX Toolkit. For more information, see Error Handling with the AJAX Toolkit.
  • The AJAX Toolkit supports relationship queries. See Synchronous Examples for examples of relationship queries.
Note

Note

Before you use the AJAX Toolkit, you should be familiar with JavaScript and with the information about the API in the SOAP API Developer's Guide.

This document explains how to use the AJAX Toolkit in JavaScript to embed API calls and processes, such as within a Visualforce page.