---
schema_version: "1"
id: 6341afc6f79bac52d21e3a0b69ec6c01026f214a889242b07f2671435101d8c1
title: ConnectApi.CanvasCapabilityInput
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_canvas_capability.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_canvas_capability.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 31983a307fbd109b17486897f23b893bb1bb1dd726892bd8f6f7b0c2aba67a21
description: Create or update a canvas app associated with a feed element.
---
# ConnectApi.CanvasCapabilityInput

Create or update a canvas app associated with a feed element.

This class is a subclass of [ConnectApi.FeedElementCapabilityInput](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_feed_element_capability.htm#apex_connectapi_input_feed_element_capability "A feed element capability.").

| Property | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| description | String | A description of the canvas app. The maximum size is 255 characters. | Optional | 32.0 |
| developerName | String | The API name (developer name) of the client app. | Required | 32.0 |
| height | String | The height of the canvas app in pixels. | Optional | 32.0 |
| namespacePrefix | String | A unique namespace prefix for the canvas app. | Optional | 32.0 |
| parameters | String | JSON parameters passed to the canvas app. | Optional | 32.0 |
| thumbnailUrl | String | A thumbnail URL to a preview image. The maximum thumbnail size is 120 pixels by 120 pixels. | Optional | 32.0 |
| title | String | A title for the canvas link. | Required | 32.0 |

#### See Also

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