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
srcstring
Scoped Solution operation path returning the file to preview.
titlestring
Attachment name used for accessible action labels and the downloaded filename.
size"sm" | "lg" | "md"
Preview and download action size; inherits sizing when omitted.