GH-Elements

Field Element

Field is the element by which an application retrieves a list of fields from another application and allows you to add one or more fields from it.

Value Format

The field element accepts the IDs of fields from selected application. If the value is multiple, IDs are separated by commas.

{
    "field_value": "645630,594814"
}

Element Options

The field element options contains of, already familiar to us,field settings and main settings.

Field Settings

Here we have the standard pair of settings: Field Name and Name Space. Read about them in Setting Overview.

Settings of field element

Main Settings

Due to these settings you can set how many field will be taken and from which application.

Main settings of field element

Name Description
Application application from which the field will be taken; details...
Multiple allows to add multiple fields; details...

Application

This is the source application from which the field list will be pulled. You can select any application from your app list. Even that one where the field element is located.

Multiple

Due to this property you can lift the limit of the value number.

Element Style

As well as most of the gh-element, this one has only standard style options and a few interpretation types. About standard style settings read in Setting Overview.

Style of field element

Data Model

The field element contains only two extra properties, apart from interpretation, in t=its data model:

{
    "data_model": {
        "app_id": "26506",
        "interpretation": [],
        "multiple_value": 1
    }
}
Name Type Description
app_id string ID of the application from which fields are taken
interpretation array contains all element interpretations
multiple_value boolean shows whether the field accepts multiple values

Filtration

The field can be filtered out by only those ones which compare full values:

Interpretation

In terms of interpretation, the field is very similar to text element. Namely, it has two types, editable and uneditable, too.

Types of field interpretation

Input

This is the interpretation type that allows user to set needed field from the certain application. In simple terms, it makes the value of the field editable.

Default

This interpretation type allows to display the field value and won't let user edit it.