ConnectApi.DashboardComponentAttachment

Attachments in feed items with type DashboardSnapshot.

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

Subclass of ConnectApi.FeedItemAttachment.

NameTypeDescriptionAvailable Version
componentIdStringComponent’s 18–character ID.28.0–31.0
componentNameStringName of the component. If no name is saved with the component, returns the localized string, “Untitled Component.”.28.0–31.0
dashboardBodyTextStringText displayed next to the actor in the body of a feed item. This is used instead of the default body text. If no text is specified, and there is no default body text, returns null.28.0–31.0
dashboardIdStringDashboard’s 18–character ID.28.0–31.0
dashboardNameStringName of the dashboard.28.0–31.0
fullSizeImageUrlStringURL of the full-sized dashboard image.28.0–31.0
lastRefreshDateDatetimeISO8601 date string, for example, 2011-02-25T18:24:31.000Z, specifying when this dashboard was last refreshed.28.0–31.0
lastRefreshDate​DisplayTextStringThe text of the last refresh date to be displayed, such as, “Last refreshed on October 31, 2011.”28.0–31.0
runningUserConnectApi.​User​SummaryThe user running the dashboard.28.0–31.0
thumbnailUrlStringURL of the thumbnail-sized dashboard image.28.0–31.0