FileViewer
Beta notice: This page is being built.Edit on GitHub(opens in new tab)
FileViewer previews images and downloads attachments through the scoped Solution API. Other documents, including PDFs, are downloaded rather than executed inside the View. Set size="sm" for compact table actions; omit size to retain inherited sizing.
This is a LongLink-specific component.
longlink docs component "FileViewer"
Example
Properties
| FileViewer - Properties |
|---|
src Scoped Solution operation path returning the file to preview.string |
title Attachment name used for accessible action labels and the downloaded filename.string |
size Preview and download action size; inherits sizing when omitted."sm" | "lg" | "md" |