Newer Version Available
ConnectApi.CanvasTemplateAttachment Class
Subclass of ConnectApi.FeedItemAttachment Class
Objects of this type are returned by attachments in feed items with type CanvasPost.
| Property | Type | Description | Available Version |
|---|---|---|---|
| description | String | Optional. Description of the canvas app. The maximum length of this field is 500 characters. | 29.0–31.0 |
| developerName | String | Specifies the developer name (API name) of the canvas app. | 29.0–31.0 |
| height | String | Optional. The height of the canvas app in pixels. Default height is 200 pixels. | 29.0–31.0 |
| icon | ConnectApi.Icon | The canvas app icon. | 29.0–31.0 |
| namespacePrefix | String | Optional. The namespace prefix of the Developer Edition organization in which the canvas app was created. | 29.0–31.0 |
| parameters | String | Optional. Parameters passed to the canvas app in JSON format. Example:
|
29.0–31.0 |
| thumbnailUrl | String | Optional. A URL to a thumbnail image for the canvas app. Maximum dimensions are 120x120 pixels. | 29.0–31.0 |
| title | String | Specifies the title of the link used to call the canvas app. | 29.0–31.0 |