GH-Elements

Nested List Element

Nested list is a gh-element that allows to automatically compile a list with different nesting. It is used to switch between items of certain application.

Functional Characteristics

This element can be used as an interactive content. The Nested List can be configured in such a way that the clicking on the item in list opens the relevant item in the View Container.

Value Format

The current element have no value.

Element Options

The current element has only one block of settings.

Field Settings

The first two functions are the standard field settings. All other settings configures the nested list.

Settings of nested list field

Name Description
App Id allows to select the source application for list; details...
Parent Id allows to select the field with the parent item; details...
Title allows to select field from which titles will be taken; details...
Sort By Priority allows to select the field by which options in list will be sorted; details...
Application to Send Message allows to select the destination application of the message; details...
Field to Send Message allows you to select the field where the message will be sent; details...

App ID

This is the application from which data for generating the nested list will be taken. Namely, the list will consist of items from this application.

Parent ID

This is the element that determines the parent of the current item. It should be an element that provides references to items, namely Item Reference.

Title

Here you can select the field from which the data for item titles will be taken. That is the field from the selected application.

Sort By Priority

The items in the nested list can be sorted by value of the specific field that can be selected here.

Application To Send Message

This is the application to which the message will be sent.This means that the element that is associated with the current one is in this application.

Field To Send Message

This is the selected gh-element to which the message will be sent. For example, when this field is the View Container and the user clicks on one of the list items, that item is displayed in the container.

Element Style

The nested list, as lots of other, have no special style settings. It contains only a standard set of options and a few interpretation variants.

Style settings of nested list element

Data Model

The data model of the current gh-element contains all element settings:

{
    "data_model": {
        "application_id": "29655",
        "interpretation": [],
        "parent_id": "694995",
        "priority": "694993",
        "send_message": {
            "app_id": "29655",
            "field_id": "694996"
        },
        "title": "694993"
    }
}
Name Type Description
application_id string contains ID of the source application
interpretation array contains all element interpretation types
parent_id string contains the field ID, which specifies the parents of the items
priority string contains ID of the field by which the list will be sorted
send_message object contains all settings of sending message
app_id string contains ID of the application to which the message will be sent
field_id string contains ID of the field to which the message will be sent
title string contains the identifier of the field from which the data for the headers will be taken

Filtration

The current element cannot be filtered out.

Interpretation

The nested list have two types of interpretation:

Types of nested list interpretation

Default

The first type of interpretation displays a complete list.

Icon

The second type allows element to be displayed as an icon.