Previews and Thumbnails
These methods generate links for Previews or Thumbnails of files. The Previews and Thumbnails must already have been created using the S-Drive’s Preview and Thumbnail feature.
Both are generated automatically for supported file types (documents, images, videos) when the Previews feature is enabled; a file with no preview/thumbnail generated won't have a URL to return.
Like getAttachmentURL/getAttachmentURLs, these hand back a signed, expiring URL for your own Salesforce-side code to use — not a public link for sharing outside your org.
|
Method |
Rendition |
Files at once |
|---|---|---|
|
|
Preview |
One |
|
|
Preview |
Many (batch) |
|
|
Thumbnail |
One |
|
|
Thumbnail |
Many (batch) |