User Manual

Get Attribute Data Type

27/7/25
Get Attribute Data Type

Kuika's Get Attribute Data Type action is used to obtain a list of data types that can be used when creating a new attribute within the EAV (Entity-Attribute-Value) data model. This action is ideal for providing users with information about which data types they can select, especially when designing dynamic form fields.

In a CRM application, a user wants to add a new customer field. The field creation form includes a ‘Data Type’ dropdown menu. The content of this menu is dynamically populated by the Get Attribute Data Type action, which returns a list of valid data types in the system. This allows the user to select the appropriate data type, such as String, Integer, Boolean, or Date.

This allows data types to be managed centrally and ensures that up-to-date, consistent options are always available during form design.

This action is currently available in beta and is still under development. Careful testing is recommended before use in a production environment.

Technical Features

  • Get Data Type List: The Get Attribute Data Type action does not take any parameters. When executed, it retrieves all data types that are available in the system. Sample returned data:
    • String
    • Integer
    • Decimal
    • Boolean
    • Date

These data types can be used for the DataType parameter when creating attributes.

  • Data Source Compatibility The data returned by the action can be used with the following components:
    • Select Box
    • Table / Grid
    • Label / Text Input (for informational purposes)
  • Web & Mobile Support: The Get Attribute Data Type action works in both web and mobile applications.

Get Attribute Data Type Action Application Steps

1. Define the Action in UI Design

  • Open your Kuika project.
  • In the UI Design module, create a screen where the data type will be selected.
  • For example, create a button named ‘Get Data Types’.
  • To make it work when clicked: + ADD ACTION > OnClick > EAV > Attribute > Get Attribute Data Type select the action.

2. Using the Results

  • Add a Select Box element.
  • Link the result of the Get Attributes Data Type action to the Value field.
  • The user can select a data type from this Selectbox and transfer this value to the DataType field in the Create Attribute action.

Artificial Intelligence Assistant in Data Type Identification

Activate Generate with AI to be able to use the AI assistant. The AI assistant analyzes the name of the data you enter and suggests the appropriate data type. If it cannot find a suitable data type, it will default to the String data type.

Examples:

  • PersonName: AI assistant automatically assigns the String data type.
  • BirthDate: AI assistant recommends DateTimeOffset data type.

Get Attribute Data Type Advanced Customisations

  • Default Selection: A specific data type can be selected as the default in the Select Box element (e.g. String).
  • Conditional Visibility: Different elements can be displayed depending on the selected data type (e.g. if Date is selected, the calendar component is displayed).
  • Form Automation: The DataType field of the Create Attribute action can be automatically populated depending on the selected data type.

Technical Risks

  • Beta Version Risk: Since the feature is still in beta, new data types may be added or some data types may be removed.
  • Empty List: In rare cases, the list may be empty due to a system issue; in this case, the user should be informed accordingly.
  • Data Compatibility Issues: The data format linked to the dropdown component must match the structure expected by the component (such as Label and Value).

The Get Attribute Data Type action provides significant convenience when creating dynamic forms and user-defined fields in the Kuika platform that are compatible with the EAV model. Thanks to its simple structure, lack of parameters, and system compatibility, it is an ideal solution for developing form automations and user-friendly screens.

Other Related Content

No items found.

Glossary

No items found.

Alt Başlıklar