Skip to content
NEW AI Solution Creator — get a working IoT prototype in 10 minutes
Stand with Ukraine flag

Files

Files widget

The Files widget displays a filterable table of files stored in ThingsBoard’s file storage directly on a dashboard, with per-row Download and Delete actions. Use it on dashboards where non-admin users need self-service access to download or manage generated files without leaving the dashboard context.

  1. Open the dashboard in edit mode. Click Add widget in the top toolbar, or click the Add new widget icon in the center of an empty dashboard.
  2. In the widget bundle selection dialog, find and click Files.
  3. Select the Files widget.
  4. Configure the appearance and click Add.

The Files widget reads directly from the file storage service and requires no datasource. All configuration lives in four tabs: Appearance, Widget card, Actions, and Layout.

Controls the table header, visible columns, pagination, and an optional blob entity type filter.

SettingDescription
Blob entities table titleText shown above the file list inside the widget (default: Files)

Toggle individual columns on or off in the list view. The Name column is always visible.

ToggleDescription
Display created time columnShows the timestamp when the file was stored (enabled by default)
Display type columnShows the blob entity type, such as Report (enabled by default)
Display customer columnShows the customer the file belongs to (enabled by default)

Toggle Display pagination to enable paged navigation when the file list grows long.

When enabled:

SettingDescription
Step incrementNumber of rows added per step when the user changes the page size (default: 10)
Number of stepsHow many page-size options appear in the selector (default: 3)
Default page sizeInitial number of rows per page (default: 10)
SettingDescription
Default sort orderThe field used to sort the list on first load (default: name)
“No data to display” alternative messageA custom message shown inside the widget when no files match the current time range
Force default blob entity typeWhen set, filters the file list to show only entries of the specified blob entity type (for example, Report). Leave blank to show all file types

Standard card settings shared across all ThingsBoard widgets.

SettingDescription
Display widget titleToggle to show or hide the widget title bar
TitleWidget title text (default: Files)
Title TooltipOptional tooltip shown on title hover
Display title iconToggle to show an icon next to the title; configure the icon and its size
Advanced title styleJSON object for fine-grained title CSS (font size, weight, padding, etc.)
SettingDescription
Text colorDefault text color across the card
Background colorCard background fill
PaddingInner spacing between card edge and content (default: 4px)
MarginOuter spacing around the card
Border radiusCorner rounding in pixels
Drop shadowCard elevation shadow (enabled by default)
Advanced widget styleJSON object for custom CSS applied to the widget container
Widget CSSRaw CSS injected into the widget scope for full visual customization
SettingDescription
Enable fullscreenAdds a fullscreen toggle button in the widget header

The Files widget supports the Widget header button action — a custom button placed in the widget header that triggers a configured action when clicked.

SettingDescription
ResizableAllow the widget to be resized on the dashboard grid (enabled by default)
Preserve aspect ratioMaintain the width-to-height ratio when resizing
Hide widget in mobile modeHides the widget when the dashboard is displayed in mobile layout
Hide widget in desktop modeHides the widget when the dashboard is displayed in desktop layout
OrderPosition in the mobile layout stacking order
HeightFixed height in rows for mobile layout

Widget shows no files

CauseSolution
The current time range filter excludes all stored filesExpand the time range using the filter button in the widget header, or switch to All time.
No files have been stored yetFiles are created automatically when the Reporting feature generates a report. Verify that report generation has run successfully.
Force default blob entity type is set to a type with no filesClear the field or correct the type name to match an existing blob entity type.
The current user has no permission to view file storageVerify the user’s role and customer permissions in Roles.

Download button does nothing

CauseSolution
Browser pop-up blocker is preventing the downloadAllow pop-ups from the ThingsBoard domain in the browser settings, then try again.

Type column shows unexpected values

CauseSolution
Multiple blob entity types are storedSet Force default blob entity type to restrict the list to a single type, or disable Display type column if the type is always the same.