Newer Version Available
Application
The Application object is a JSON-formatted object returned by the signed request in the Context object. The Application object contains specific canvas app information obtained after you’ve added your app as a connected app in Salesforce from Setup by entering Connected Apps in the Quick Find box, then selecting Connected Apps.
| Field | Description |
|---|---|
| applicationId | The ID of the canvas app. |
| authType | The access method of the canvas app. You specify this value when you expose the canvas app by creating a connected app. |
| canvasUrl | The URL of the canvas app, for example: http://instance.salesforce.com:8080/canvas_app_path/canvas_app.jsp. |
| developerName | The internal name of the canvas app. You specify this value in the API Name field when you expose the canvas app by creating a connected app. |
| name | The name of the canvas app. |
| namespace | The Salesforce namespace prefix associated with the canvas app. |
| options | An array that can contain one, two, or three of these values:
|
| referenceId | The unique ID of the canvas app definition. Used internally. |
| version | The version of the canvas app. This value changes after you update and re-publish a canvas app in an organization. |
The following code snippet shows an example of the Application object.