Newer Version Available

This content describes an older version of this product. View Latest

ConnectApi.CanvasAttachmentInput Class

This class isn’t available in version 32.0 and later. In version 32.0 and later, use ConnectApi.​CanvasCapability​Input.

Important

Used to attach a canvas app to a feed item.

Subclass of ConnectApi.​Feed​Item​Attachment​​Input Class

Property Type Description Available Version
description String Optional. The description of the canvas app. 29.0–31.0
developerName String 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
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:
1{'isUpdated'='true'}
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 The title of the link used to call the canvas app. 29.0–31.0