Apex Reference Guide
Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
ConnectApi.ManagedContentMediaNodeValue
Subclass of ConnectApi.ManagedContentNodeValue.
| Property Name | Type | Description | Available Version |
|---|---|---|---|
| altText | String | Alternative text for the managed content node. | 47.0 |
| altUrl | String |
Alternative URL to the managed content node. In version 49.0 and later, this information is returned in the thumbnailUrl property. |
47.0–48.0 |
| contentKey | String | Content key of the managed content. | 51.0 |
| fileName | String | File name of the managed content node. | 48.0 |
| mediaType | ConnectApi.ManagedContentMediaType | Type of managed content media. Value is Image. | 47.0 |
| mimeType | String | MIME type of the managed content node. | 47.0 |
| resourceUrl | String |
Resource URL to the image. In version 48.0, the resource URL is available if referencing asset files and is null if referencing media. In version 49.0 and later, the resource URL is available if referencing asset files or media. |
48.0 |
| thumbnailUrl | String | URL to the thumbnail of the media. | 49.0 |
| title | String | Title of the managed content node. | 47.0 |
| unauthenticatedUrl | String | Unauthenticated URL to the image or null if the image isn’t visible to external users. | 48.0 |
| url | String | URL to the image. | 47.0 |