Edit documentation Edit document
GH-Elements

Element Reference

Element Reference is a gh-element that allows to use certain configured elements from other applications. You can refer to any element and therefore connect two applications.

Functional Characteristics

The current element is designed to make easier configuring the application. If you have some gh-element with certain settings and you need it in another application, you can simply extract it using Element Reference.

Value Format

The value of the field depends on the gh-element to which the current element is referencing. For example, if the source element is Text, the current value will be the string of the entered text.

Element Options

The element reference can be configured using only one group of settings.

Field Settings

The main settings of the element are in the field settings with standard options.

Settings of element reference field

Name Description
Application allows to select the source application; details...
Field allows to select the field for reference; details...

Application

This is the application where the element will be taken for reference.

Field

This is the field that the element refers to. That means exactly this element and its settings are used in the element reference.

Element Style

Like most gh-elements, this one has only standard settings of the style and a set of interpretation types.

Style of element reference

Data Model

The data model of the current element contains all needed IDs and an array of interpretations:

{
    "data_model": {
        "app_id": "28752",
        "field_id": "634545",
        "interpretation": []
    }
}
Name Type Description
app_id string contains ID of the source application
field_id string contains ID of the field to which the element is referenced
interpretation array contains all interpretation types

Filtration

The element reference can be filtered with the same filters as the element to which the current element refers.

Interpretation

This element has only two types of interpretation:

types of element reference interpretation

Default

This type allows to edit the element value.

Plain Text

The second type of interpretation makes the value of the current item unavailable for editing.