ConnectApi.CanvasTemplateAttachment Class

Important

Important

This class isn’t available in version 32.0 and later. In version 32.0 and later, ConnectApi.Canvas​Capability Class is used.

Subclass of ConnectApi.​FeedItem​Attachment Class

Objects of this type are returned by attachments in feed items with type CanvasPost.

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:
{'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
Previous
Next