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.

Subclass of ConnectApi.FeedItemAttachment.

PropertyTypeDescriptionAvailable Version
descriptionStringOptional. Description of the canvas app. The maximum length of this field is 500 characters.29.0–31.0
developerNameStringSpecifies the developer name (API name) of the canvas app.29.0–31.0
heightStringOptional. The height of the canvas app in pixels. Default height is 200 pixels.29.0–31.0
iconConnectApi.IconThe canvas app icon.29.0–31.0
namespacePrefixStringOptional. The namespace prefix of the Developer Edition organization in which the canvas app was created.29.0–31.0
parametersStringOptional. Parameters passed to the canvas app in JSON format. Example: {'isUpdated'='true'}29.0–31.0
thumbnailUrlStringOptional. A URL to a thumbnail image for the canvas app. Maximum dimensions are 120x120 pixels.29.0–31.0
titleStringSpecifies the title of the link used to call the canvas app.29.0–31.0