ConnectApi.CanvasTemplateAttachment

Attachments in feed items with type CanvasPost.

This class isn’t available in version 32.0 and later. In version 32.0 and later, ConnectApi.CanvasCapability is used.

Important

Subclass of ConnectApi.FeedItemAttachment.

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:
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 Specifies the title of the link used to call the canvas app. 29.0–31.0