GH-Elements

Go To Link

Go To Link is a gh-element that allows to make the drop-down list of customized links. This means that the user can find and open a specific item by entering data from it.

Functional Characteristics

Use this element to make a search field for users. For example, a user can find a desired product in the online store by entering the name of that product in the element field.

Value Format

The current element does not contain any value.

Element Options

Go To Link element has lots of different settings. Each of setting group has its own unique features.

Field Settings

The first group of settings is consists of standard field settings and additional element settings.

Settings of go to link field

Name Description
App ID as parameter allows to use application ID as link parameter; details...
Item ID as parameter allows to use application ID as link parameter; details...
Select first matched on Enter allows to use the selection by pressing Enter; details...
Show thumbnail allows to show thumbnails in drop-down list; details...

App ID As Parameter

This function uses the ID of the target application as a parameter in the generated links.

Item ID As Parameter

In cases the link leads to the item of some application, this function will allow to use the ID of the destination item as a parameter in generated link.

Select First Matched On Enter

If this function is on, user can select the matched link by clicking Enter.

Show Thumbnail

If this function is turned on the thumbnails will be displayed in drop-down list.

URI Settings and Custom URI Parameters

There are two group of settings in the second block.

URI Settings are mandatory setting of the element. They configure the main part of links of the drop-down list.

Custom URI Parameters allows getting URI parameters for automatic link generation.

User URI parameters are used if the host is not GudHub.

URI settings of go to link element

Name Description
Host allows to enter the host for links; details...
Use current host allows to use the current host; details...
Path allows to enter the path for the link; details...
URI params as allows to select the type of the parameter of the URI; details...
Par. name allows to enter name to the parameter; details...
Application allows to select the source application; details...
Par. value allows to select the source field for parameters; details...
Edit allows to edit or delete the parameter; details...

Host

This is the host of the site to which all link options will be linked to.

Use Current Host

This function allows to use the GudHub host for the link. When it is on, the host field is filled by https://gudhub.com:443.

Path

This field is for entering the desired URI path.

URI Params As

The current function allows to select the type of the parameters:

  • Query params
  • Route params

Parameter Name

This is the name that the user enters. It is intended to indicate what the parameter is for.

Application

This is the application from which data for links will be taken. In case the links lead to views of GudHub, this app will be the destination.

Parameter Value

This is the field whose value is used as the parameter. This means that the source field must contain a link parameter corresponding to the type of parameters.

Edit

This is the column that contains edit and delete buttons.

This group of settings is designed to configure the drop-down list of the element.

If you use GudHUb host, some of the current settings will also be used to generate links.

Settings of go to link dropdown

Name Description
Application allows to select the source application; details...
View allows to select the view that will be opened; details...
Thumbnail allows to select the field for thumbnail; details...
Title allows you to select a name for an option from the drop-down list; details...
Subtitle allows you to select a subtitle for an option from the drop-down list; details...
Edit allows to edit or delete the option; details...

Option Application

This is the application

View

This is the view that will be opened after clicking on the option.

Is useful only if for GudHub host.

Thumbnail

Due to this function, you can select the field whose images will be used as thumbnails in the drop-down list.

Title

Select the field from which the data for the link titles will be taken. That titles are displayed in drop-down list.

Subtitle

Subtitle is displayed below the title. The data for it is taken from selected fields.

Edit Option

This column contains two buttons. One of them allows you to edit and the other allows you to delete an option.

Element Style

Such as all other elements, this one has a standard set of style settings and its own types of interpretation. But it has one difference. Namely, the additional option in general settings.

Style of go to link element

General Settings

Every additional style setting is in the current group:

General settings of go to link style

Name Description
Input Width allows to enter the width of the field

Input Width

The only additional setting allows you to enter the width of the field.

Data Model

The data model consists of element settings:

{
    "data_model": {
        "app_id_as_first_param": 1,
        "host": "https://development.gudhub.com:443",
        "interpretation": [],
        "item_id_as_second_param": 1,
        "path": "/act/open_item/",
        "select_first_matched_option": 1,
        "selected_apps": [{
            "app_id": "29008",
            "subtitle_field_ids": "682240",
            "thumbnail_field_id": "682241",
            "title_field_ids": "682241",
            "view_id": "1536589"
        }],
        "show_thumb": 1,
        "uri_params": [{
            "app_id": "29204",
            "appropriate_field": "684002",
            "parameter": "Param Name"
        }],
        "uri_type": "query",
        "use_current_host": 1
    }
}
Name Type Description
app_id_as_first_param boolean shows whether the ID of the selected application is used as a parameter
host string contains host that is used
interpretation array contains all element interpretation types
item_id_as_second_param boolean shows whether ID of the destination item is used as a parameter or not
path string contains path that is used
select_first_matched_option boolean shows whether the user can select the first matched option by pressing Enter
selected_apps array contains all options of the drop-down list
app_id string contains ID of the source application
subtitle_field_ids string contains ID of source field for subtitles
thumbnail_field_id string contains ID of source field for thumbnail images
title_field_ids string contains ID of source field for titles
view_id string contains ID of the view that will be opened after clicking on the option
show_thumb boolean shows whether the thumbnails will be shown
uri_params array contains all URI params and their settings
app_id string contains ID of the source application
appropriate_field string contains ID of the field from which params will be taken
parameter string contains the parameter name entered by the user
uri_type string contains the selected type of the URI
use_current_host boolean shows whether the GudHub host is used or not

Filtration

This element cannot be filtered out.

Interpretation

This element has only one type of interpretation:

Types of go to link interpretations

Default

This is an interpretation type that allow to enter the search query and follow the link.