GH-Elements

Export CSV

Export CSV is a gh-element that allows users to export data from the application in CSV format. This is the button that, when clicked, will open a pop-up window. This window contains various settings for selecting the data to be exported.

Data Selecting

This pop-up contains the main settings of data that will be exported. That means here you can configure which fields and items will be in the resulting CSV file.

Pop-up window of export CSV element

Select Value Type

The first function allows you to set the type of field values, namely whether the field value will be interpreted or not. Consequently, there are two varieties:

  • Interpreted
  • Raw

Select Items

The second function configures which items will be exported. User can export all application items or only selected ones:

  • Selected
  • All

Select items before clicking on the Export CSV button to use the Selected mode. Without a preselection of items, the file will not load.

This function allows you to add an extra column to the resulting file. That column contains self links of every exported item. It consists of the application ID and the item ID, separated by a dot.

Select Fields

With the Add Field button, the user can select which fields of the selected items will be loaded in the CSV file.

Value Format

There are no field values.

Element Options

The export CSV does not have many field settings, and they are divided into two groups.

Field Settings

As all other elements, this one has standard field settings.

Settings of export CSV element

Option

The second group contains only one option, which is very important for configuring the export.

Option of export CSV

Name Description
Application allows to select the source application

Application

This is the application whose data will be exported with the current gh-element.

Element Style

This button has quite standard style settings. The only unique option is Show button name. There are also types of interpretation of the current gh-element. These are described below.

Style of export CSV element

General Settings

The general style settings contain one additional option in addition to the standard settings.

General settings of export CSV element

Name Description
Show button name allows to show the button name

Show Button Name

This function allows to configure whether the button name will be displayed or not.

Data Model

The current element has a small data model with only two properties.

{
    "data_model": {
        "app_id": "23423",
        "interpretation": []
    }
}
Name Type Description
app_id string contains ID of the source application
interpretation array contains all interpretation types

Filtration

There are no filters to filter out this element.

Interpretation

The export CSV element has a few different types of interpretation.

Types of export CSV interpretation

Default

Thanks to this interpretation, the item is displayed as an icon with the name of the button next to it.

Large Button

This interpretation displays an icon and a button name under it.

Large Button Inline

This interpretation allows to display current element as a blue button.