Data Export

Prev Next

Permits to export data of multiple metrics and things.

Data Export

This widget is visible only to users who have the "Export Things Data" (EXPORT_DATA) permission.

By clicking the Schedule data export button, the widget switches to a form where the user can configure which data to export.

In a Data Export, you can configure:

  • The name of the data export to be scheduled.

  • Optionally, you can limit the things to be processed by selecting a customer, a location, and a thing. If left blank, all items visible to the logged-in user are exported.

  • The thing-definitions and related metrics to export.

  • The file name (placeholder-based template) to be used for each exported thing.

  • The time period of data to be exported.

  • The timestamp format used as the first column of each CSV generated (ISO or milliseconds).

  • If the data is to be anonymized, for instance, the thing name or serial number is blurred.

By pressing the Export button, a data export process is scheduled, and within the widget you can see the status of the data exports and get an idea of the time remaining. When finished, you can download the ZIP archive containing a CSV file for each exported thing.

The widget is aware of the context of the page, so if it is inserted into a customer details page, it will show only the data-exports related to that customer.

Configuration

Template Syntax

Below you can find some examples of how to use the component within a template.


<data-export-widget [title]="'Data Export'"></data-export-widget>

Component Reference

Here is a comprehensive list of all the elements and properties that can be used to configure the component.

Data Export <data-export-widget>

Title

The title displayed on the top part of the widget box.

Name: title

Type: STRING | Optional

[title]="'Details'"

Rendering

CSS Class

The name(s) of the CSS class used to customize the widget layout.

Name: class

Type: STRING | Optional

class="my-custom-class"

Visibility Condition

The expression that allows you to reduce the visibility of the element.

Name: *ngIf

Type: STRING | Optional

*ngIf="getUser().organizationId != null"