Documentation Version
Winter '16 (API version 35.0)
  • Winter '16 (API version 35.0) 35.0
  • 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
  • Japanese

Introducing Canvas Canvas enables you to easily integrate a third-party application in Salesforce. Canvas is a set of tools and JavaScript APIs that you can use to expose an application as a canvas app. This means you can take your new or existing applications and make them available to your users as part of their Salesforce experience.

Instead of redesigning and reintegrating your external applications, you can now use these tools to integrate your technology within Canvas. Canvas includes tools that handle:
  • AuthenticationIf your application requires authorization, you can implement it by using a signed request or OAuth 2.0.
  • ContextAPI support that enables you to retrieve context information about the environment in which the canvas app is running.
  • Cross-domain XHRJavaScript support for cross-domain XML HTTP requests back to the Salesforce domain.
  • Resizing—Methods that support the ability to resize your canvas app.
  • EventsEvents provide a JavaScript-based way to send and receive events between canvas apps. Use events to enable communication between multiple canvas apps on a single page.
  • Canvas Apps in Visualforce—A Visualforce component that lets you expose your canvas app on a Visualforce page.
  • Canvas Apps in the Publisher—Lets you add a canvas app as a custom action and expand the publisher to include a canvas app.
  • Canvas Apps in the Chatter Feed—Lets you expose your canvas apps as feed items.
  • Canvas in the Salesforce1 App—Makes your canvas apps available in Salesforce1.

The third-party app that you want to expose as a canvas app can be written in any language. The only requirement is that the app has a secure URL (HTTPS).