FileViewer

FileViewer previews PDF documents, images, video, and audio inline and falls back to a download link for other file types. Place it inside a Dialog for document review workflows such as signatures.

ParameterDescription
srcSolution-relative file URL, resolved like Link href.
titleAccessible name for the previewed document.
ifConditional rendering expression.

Usage

xml
<FileViewer src="/api/items/${item.id}/attachments/${attachment.id}" title="$attachment.name" />