CnFilesWidget
Files browser widget (folder navigation, thumbnails, mime filter, sort).
Part of the dashboard widget library (v2). Registered with the dashboard widget registry and consumed by MyDash/LaunchPad's widget grid. See the widget library overview and docs/architecture/cards-and-widgets.md.
Reference
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
content | object | \{\} | Persisted content blob configuring the folder + toolbar — see {@link CnFilesWidgetForm} for the full shape (folderPath, fileId, viewMode, allowUpload, allowDelete, …). | |
placement | object | \{\} | Placement entity; its id scopes the host Files endpoint. | |
isAdmin | boolean | false | Whether the dashboard shell is in admin mode. | |
canEdit | boolean | false | Whether the dashboard shell is in edit mode. |
Additional props
| Prop | Type | Default | Description |
|---|---|---|---|
apiBase | String | /apps/files | App base for the host files-widget endpoints ({apiBase}/api/widgets/files/{placementId}/...). Set to point the widget at a consuming app's backend (e.g. /apps/mydash). |