---
schema_version: "1"
id: e1b2735afeb37ae8aa1a2e28b9a13d5b0891bacaa3937a75cf3b9fb82274a401
title: ConnectApi.CanvasCapability
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_canvas_capability.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_canvas_capability.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: f7f7da20c06be671027e710bd5547a5e5a6e0c961205c2bfa8727a9a5d09d037
description: If a feed element has this capability, it renders a canvas app.
---
# ConnectApi.CanvasCapability

If a feed element has this capability, it renders a canvas app.

Subclass of [ConnectApi.FeedElementCapability](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_feed_element_capability.htm "A feed element capability, which defines the characteristics of a feed element.").

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| description | String | A description of the canvas app. The maximum size is 255 characters. | 32.0 |
| developerName | String | The API name (developer name) of the client app. | 32.0 |
| height | String | The height of the canvas app in pixels. | 32.0 |
| icon | [ConnectApi.Icon](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_icon.htm#apex_connectapi_output_icon "Icon.") | The icon for the canvas app. | 32.0 |
| namespacePrefix | String | A unique namespace prefix for the canvas app. | 32.0 |
| parameters | String | JSON parameters passed to the canvas app. | 32.0 |
| thumbnailUrl | String | A thumbnail URL to a preview image. The maximum thumbnail size is 120 pixels by 120 pixels. | 32.0 |
| title | String | A title for the canvas link. | 32.0 |

#### See Also

- [ConnectApi.FeedElementCapabilities](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_feed_element_capabilities.htm "A container for all capabilities that can be included with a feed element.")