Get Attribute

Get Attribute

Kuika's Get Attribute action is used to query an attribute previously defined in the system within the EAV (Entity-Attribute-Value) data model and access its detailed information. This action is ideal for managing dynamic fields, controlling user-defined attributes, or using attribute information in other processes.

This action is currently available in Beta version and is still under development. It is recommended to test it carefully before using it in a production environment.

Technical Specifications

  • Get Attribute Information (EAV Panel: Get Attribute action works with the following mandatory parameter to obtain all system information related to an attribute:
    • Id (Guid - Required): The unique ID of the attribute whose information will be retrieved (attribute ID). This parameter must be defined correctly and belong to the relevant attribute.
    • Returned Information: The following attribute information can be accessed as a result of this action:
      • Name
      • DataType
      • Description
      • CategoryId
      • IsRequired
      • DefaultValue
  • Data Source Compatibility: The Id parameter can be defined from the following sources:
    • Symbol Picker > Fixed > Guid
    • Symbol Picker > Component > Text Input
    • Symbol Picker > Action Result
  • Web & Mobile Support: The Get Attribute action works in both web and mobile applications.
Get Attribute Action Application Steps

1. Defining the Action in UI Design

  • Open your project on the Kuika platform.
  • Go to the UI Design module.
  • Open the screen where you want to view the attribute information.
  • For example, create a button named ‘Get Attribute Information’.
  • To make it work when clicked: + ADD ACTION > OnClick > EAV > Attribute > Get Attribute action.

2. Configure the action parameter

  • Id: Symbol Picker > Fixed > Guid or Symbol Picker > Component > Text Input (selected attribute) or Symbol Picker > Action Result > AttributeList can be selected.

3. Using the results

The information returned by the Get Attribute action can be displayed in other components (e.g., Label, Text, Info Box) or used in other actions (e.g., condition, validation, update).

Usage Scenario: Displaying Attribute Information

An admin panel displays a user-defined attribute list. The user wants to view the details of an attribute in the list.

  • The user selects the attribute name.
  • The selected attribute ID is sent to the Get Attribute action.
  • The action returns information such as Name, DataType, and Description to the user.
Get Attribute Action Advanced Customisations
  • Conditional Display: Attribute information can be displayed based on specific user roles.
  • Form Filling: Information returned by Get Attribute can be automatically filled into Dynamic Form fields (e.g., in an update scenario).
  • Error Management: If an invalid ID is entered, the system can display an informational message to the user.

Technical Risks

  • Invalid ID: If the ID parameter is entered incorrectly, the system cannot retrieve the attribute information. In this case, informative messages such as ‘Attribute not found’ should be displayed to the user.
  • Beta Version Risk: The action is still in beta; unstable behaviour may occur in some scenarios.
  • Empty Result: Deleted or inaccessible attributes may return an empty result.

The Get Attribute action is an effective tool for retrieving detailed information about attributes created in accordance with the EAV structure on the Kuika platform. It can be used to make attribute management in your applications dynamic and user-centric. Despite being in beta, it provides secure and flexible usage when carefully configured.

Other Related Content

No items found.

Glossary

No items found.

Alt Başlıklar