Newer Version Available
ExtlClntAppCanvasSettings
Parent Type and Manifest Access
This type extends the Metadata metadata type and inherits its fullName field.
File Suffix and Directory Location
ExtlClntAppCanvasSettings components have the suffix .ecaCanvas and are stored in the extlClntAppCanvasSettings folder.
Version
ExtlClntAppCanvasSettings components are available in API version 66.0 and later.
Special Access Rules
There are no additional access requirements that are specific to this type.
Fields
| Field Name | Field Type | Description |
|---|---|---|
| accessMethod | AccessMethod (enumeration of type string) | Required. Indicates how the canvas app initiates the OAuth authentication flow. The
valid values are:
|
| canvasLocationOptions | CanvasLocationOptions (enumeration of type string)[] | Indicates where the canvas app can appear to the user. The valid
values are:
|
| canvasOptions | CanvasOptions (enumeration of type string)[] | Indicates whether to hide the Share button
and header in the publisher for your canvas app. Valid values are:
|
| canvasUrl | string | Required. The URL of the third-party app that’s exposed as a canvas app. |
| externalClientApplication | string | Required. The name of the associated external client app. |
| label | string | The name of the app. |
| lifeCycleHandler | string | The name of the lifecycle handler Apex class. |
| samlInitiationMethod | SamlInitiationMethod (enumeration of type string) | If you’re using SAML single sign-on (SSO), indicates which
provider initiates the SSO flow.
|
Declarative Metadata Sample Definition
The following is an example of a ExtlClntAppCanvasSettings component.
1<?xml version="1.0" encoding="UTF-8"?>
2<ExtlClntAppCanvasSettings xmlns="http://soap.sforce.com/2006/04/metadata">
3 <accessMethod>Post</accessMethod>
4 <canvasUrl>https://www.example.com</canvasUrl>
5 <canvasLocationOptions>Aura</canvasLocationOptions>
6 <canvasLocationOptions>Visualforce</canvasLocationOptions>
7 <canvasOptions>HideHeader</canvasOptions>
8 <label>My external client app settings for canvas</label>
9 <samlInitiationMethod>None</samlInitiationMethod>
10 <externalClientApplication>testCanvasECA</externalClientApplication>
11</ExtlClntAppCanvasSettings>The following is an example package.xml that references the previous definition.
1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3 <types>
4 <members>*</members>
5 <name>ExternalClientApplication</name>
6 </types>
7 <types>
8 <members>*</members>
9 <name>ExtlClntAppOauthSettings</name>
10 </types>
11 <types>
12 <members>*</members>
13 <name>ExtlClntAppCanvasSettings</name>
14 </types>
15 <version>66.0</version>
16</Package>Wildcard Support in the Manifest File
This metadata type supports the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.