Newer Version Available

This content describes an older version of this product. View Latest

Set the App Location

In this step, you’ll specify where your canvas app can display to a user in Salesforce.

  1. In Salesforce, from Setup, click Create | Apps.
  2. In the Connected Apps related list, click the app you just created and then click Edit.
  3. In the Canvas Apps Settings section, in the Locations field, select where the canvas app can appear to the user. For this walkthrough, select Chatter Tab.
    • Chatter Feed—The canvas app appears in the feed. If this option is selected, you must create a CanvasPost feed item and ensure that the current user has access to the canvas app.
    • Chatter Tab—The canvas app appears in the app navigation list on the Chatter tab. If this option is selected, the canvas app appears there automatically.
    • Mobile Nav—The canvas app is accessible from the navigation menu in Salesforce1.
    • Open CTI—The canvas app appears in the call control tool. If this option is selected, you must specify the canvas app in your call center’s definition file for it to appear.
    • Publisher—The canvas app appears in the publisher. If this option is selected, you must also create a canvas custom action and add it to the global layout or to an object layout.
    • Salesforce Console—The canvas app appears in the footer or sidebars of a Salesforce console. If this option is selected, you must choose where the canvas app appears in a console by adding it as a custom console component.
    • Visualforce Page—The canvas app can appear on a Visualforce page. If you add an <apex:canvasApp> component to expose a canvas app on a Visualforce page, be sure to select this location for the canvas app; otherwise, you’ll receive an error.
  4. Click Save.

    Because you selected Chatter Tab, your canvas app now appears in the left navigation pane on the Chatter tab.