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.FilePreview

A file preview.
Property Name Type Description Available Version
format ConnectApi.​FilePreviewFormat The format of the preview. Values are:
  • Audio—Preview format is MP3.
  • Jpg—Preview format is JPG.
  • Pdf—Preview format is PDF.
  • Svg—Preview format is compressed SVG.
  • Thumbnail—Preview format is 240 x 180 PNG.
  • ThumbnailBig—Preview format is 720 x 480 PNG.
  • ThumbnailTiny—Preview format is 120 x 90 PNG.
  • Video—Preview format is MP4.
39.0
previewUrlCount Integer The total number of preview URLs for this preview format. 39.0
previewUrls List<ConnectApi.​FilePreviewUrl> A list of file preview URLs. 39.0
status ConnectApi.​FilePreviewStatus The availability status of the preview. Values are:
  • Available—Preview is available.
  • InProgress—Preview is being processed.
  • NotAvailable—Preview is unavailable.
  • NotScheduled—Generation of the preview isn’t scheduled yet.
39.0
url String The URL for the file preview. 39.0