Skip to main content
Version: 1.0.4

File Manager

Browse, upload, organize and download files in the shared uploads folder. Scope it to a root sub-folder, filter by type, and switch between grid and list views.

The File Manager component as it renders with its default settings.The File Manager component as it renders with its default settings.

Reach for it when you need:

  • Operators attaching evidence to a record
  • A shared drawings/SOP folder on a screen

Component name: FileManager · Category: Display

In the palette: Browse, upload, organize and download files in the shared uploads folder. Scope it to a root sub-folder, filter by type (images, video, documents, …), and switch between grid and list views. Shows a clear warning until an admin configures the upload folder.

Properties

Any property can be bound to a tag, another component's property, or a query.

PropertyTypeDefaultDescription
rootFolderstring""The folder (relative to the uploads root) this manager is confined to. Leave empty to use the uploads root itself. Bindable — bind a tag/variable to scope the view per user/asset at runtime. The operator can never navigate above this folder.
fileFilterenumallDefault file-type filter. The operator can change it at runtime from the toolbar. Options: all · images · video · audio · documents · pdf · archives · custom.
customExtensionsstring""When fileFilter is 'Custom', the comma/space-separated extensions to allow (e.g. "csv, json, log"). Leading dots and case are ignored.
selectionModeenumnonenone = click opens/downloads (no selection emitted). single = click selects one item, double-click opens. multiple = click toggles selection (checkboxes), double-click opens. Options: none · single · multiple.
viewenumgridInitial layout: a thumbnail grid or a dense list. The operator can toggle it at runtime. Options: grid · list.
showSearchbooleantrueShow the name search box.
showFolderTreebooleantrueShow the folder-tree sidebar for quick navigation (hidden automatically on narrow widths).
readOnlybooleanfalseBrowse & download only — hides all upload/delete/rename/new-folder actions. Overrides the individual allow* toggles.
permissionsobject{"upload":true,"delete":true,"createFolder":true,"rename":tr… (truncated)Which write actions the widget offers. In LiveView these also require the operator's write-level (a read-only operator sees none).
maxUploadMBnumber25Maximum size per uploaded file, in MB. This can only TIGHTEN the platform limit set in Settings → Storage — an administrator's global cap always wins, and the server enforces it regardless.
selectedItemobject{}Output: the (most recently) selected item as { name, path, type, dateModified, ref, url }. Bind {{ <name>.selectedItem.ref }} into a PDF Viewer / Image / 3D asset prop to show the picked file ('ref' is an upload:// reference that works in the Designer and in LiveView); 'url' is the direct link and 'path' the folder path.
selectedItemsarray[]Output: all selected items as an array of { name, path, type, dateModified, ref, url } (single mode holds 0–1).
stylestyle{}Custom CSS properties

Events

Attach event actions to these in the Event Manager.

EventLabelGroupPayload
clickClickMouseThe DOM event.
dblclickDouble clickMouseThe DOM event.
contextmenuRight clickMouseThe DOM event.
mouseenterMouse enterMouseThe DOM event.
mouseleaveMouse leaveMouseThe DOM event.
fileSelectFile selectFileThe item, under item.
selectionChangeSelection changeFileThe current selection.
fileOpenFile openFileThe opened file, under file.
folderOpenFolder openFileThe opened folder, under folder.
fileUploadFile uploadedFileThe uploaded file, under file.
fileDeleteFile deletedFileThe deleted file, under file.
fileRenameFile renamedFileThe rename, under rename.
folderCreateFolder createdFileThe created folder, under folder.
Right-click behaves differently in the Designer

contextmenu fires your configured actions at runtime only — in LiveView and in preview. On the Designer canvas the right-click is captured to open the Event Manager, so testing it there will not run your actions. Test right-click in preview.

Notes

It shows a clear warning until an administrator configures the upload folder in Settings → Storage. Scope rootFolder — and bind it — so each area or user sees only their own sub-tree; the operator can never navigate above it.