Create Feature
  • 28 Apr 2025
  • 3 Minutes to read
  • Dark
    Light
  • PDF

Create Feature

  • Dark
    Light
  • PDF

Article summary

Create Feature widget

Serves to configure logic that allows to create records with the specific attributes in one table based on a record and its attributes from another table.

For instance - a business flow that allows the creation of a new feature in a specific territory. Feature in this example refers to a geographic entity or object represented in a map or dataset.

A common use case is to create a work group or work assessment based on a work territory.

The configured widget presents the user with a modal where the base feature table is displayed (table A); after selecting an entry in this feature table, the next modal opens, which contains an input form for entering data (attributes) to create a new record. As a result, a new feature is created with the particular attributes from the base table (table A) and with its attributes. This feature will be stored in another table (table B).

Create Feature widget configuration

Field

Description

Visualization

Name

  • Can be set any name

  • The name will be visible on the Create Feature modal in Clearion Web

Create Feature Configuration

Target Table

  • Represents a layer (table) where a new feature (record) will be created

  • The target table should be initially added to a Data Source > Tables to be displayed in the Source dropdown

Create Modal Fields

  • Input fields that will be displayed in the Create Feature modal when creating a new feature

  • Entered values will be attributes of a new feature

  • Fields can be added manually via Add Column

  • Fields can be added automatically via Generate Fields:

    • select an appropriate table

    • select all the necessary fields

Add FieldAdd Column(2)

Generate Field

Generate Column(1)

Create Modal validation

  • Allows to configure validation for the Create Feature modal

  • Required fields should be specified

  • Required fields types should be specified

Base Layer Configuration

Base Table

  • Represents a layer (table) based on which a new feature (record) will be created

  • Will be shown as a modal with a base feature table records

Base Table Columns

  • Columns that will be visible in a Target Layer table

  • Columns can be added manually via Add Column

  • Columns can be added automatically via Generate Columns:

    • select an appropriate table

    • select all the necessary fields

Column Settings:

  • Header Text - can be added any text which represents a column name

  • Field - should correspond to a field in a table

  • Width - can be set any appropriate width. If set to 0 then the width will be automatically adjusted

  • Lookup - lookup should be added if this is a lookup field

  • Numeric Format - allows user to choose a specific way to display values of numeric fields. There are 3 available numeric formats:

    • Integer - X (a rounded number)

    • Float - X.X (for example- 1.2, 11.5, 10.0)

    • Double Precision - X.XX (for example- 3.30, 0.00, 5.50)

  • Visible - determines if the column is visible or hidden by default. If hidden it can be selected in the Columns Selection menu (if it is enabled)

Add Column

Generate Column

Generate Column(1)

Copy Fields

  • Base Layer (table) attributes (fields) that will be copied to the Target table when creating a new feature

  • Fields can be added manually via Add Column

  • Fields can be added automatically via Generate Columns:

    • select an appropriate table

    • select all the necessary fields

  • Source - the field name that exists in a source table

  • Target - the field name that exists in a target table

Add FieldAdd Column(2)

Generate Field

Base Table Settings

  • Enables or disables specific options for a table that will be available for Web users:

    • Sorting - displays a button at the header of each column to sort table records

    • Filtering - displays a menu that allows to filter by table records

    • Search - displays a menu that allows to search through table records

    • Grouping - displays button which allows to group a table by some fields

    • Column Selection - displays a menu that allows to show and hide columns

    • Export - allows to export data into an Excel spreadsheet

    • Paging (Page Size) - if true then it is possible to set the default amount of records per page

Create Feature Flow

  • Form-Based Flow:

    • The user selects a record directly in the main Feature Table, then clicks the Create button

    • This action immediately opens the Create form

    • This option is relevant when the Feature Table on the page and the base table in the Create Feature flow match

  • Table-Based Flow:

    • Clicking the Create button opens a modal window displaying the base table

    • The user must select a record from this table to proceed to the Create form

    • This option is relevant when the Feature Table on the page and the base table in the Create Feature flow do not match

Custom Action

  • If any additional actions need to be performed when adding records they should be created and then selected

Save

  • Saves the configuration

  • The button is disabled till the source tables are added for both work record and tasks

Export / Import

Configured widget preview